Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
moshloop authored May 21, 2024
1 parent 55fde70 commit 08de55b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/health/health_aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 08de55b

Please sign in to comment.