From 08de55b9e1b9ae6db3cb8a4eda03715f89e8dd59 Mon Sep 17 00:00:00 2001 From: Moshe Immerman Date: Tue, 21 May 2024 14:13:49 +0300 Subject: [PATCH] Apply suggestions from code review --- pkg/health/health_aws.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/health/health_aws.go b/pkg/health/health_aws.go index 2542f62..d0a69be 100644 --- a/pkg/health/health_aws.go +++ b/pkg/health/health_aws.go @@ -32,10 +32,10 @@ var awsResourceHealthmap = map[string]map[string]HealthStatus{ AWSResourceTypeEC2: { "pending": HealthStatus{Status: HealthStatusPending, Health: HealthUnknown}, "running": HealthStatus{Status: HealthStatusHealthy, Health: HealthHealthy, Ready: true}, - "shutting-down": HealthStatus{Status: HealthStatusDeleting, Health: HealthUnhealthy}, + "shutting-down": HealthStatus{Status: HealthStatusDeleting, Health: HealthUnknown}, "stopped": HealthStatus{Status: HealthStatusStopped, Health: HealthUnknown}, "stopping": HealthStatus{Status: HealthStatusStopping, Health: HealthUnknown}, - "terminated": HealthStatus{Status: HealthStatusDeleted, Health: HealthUnhealthy}, + "terminated": HealthStatus{Status: HealthStatusDeleted, Health: HealthUnknown}, }, AWSResourceTypeEKS: {