Skip to content

Commit

Permalink
Update command_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishek-hashicorp committed Dec 10, 2024
1 parent 55a6de5 commit d58260e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions subcommand/health-sync/command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -462,14 +462,6 @@ func TestRun(t *testing.T) {
checkID := constructCheckID(makeServiceID(serviceName, taskID), name)
if expCheck.CheckID == checkID {
expCheck.Status = ecsHealthToConsulHealth(hsc.status)
if len(c.healthSyncContainers) > 1 {
for containerName := range c.healthSyncContainers {
if c.healthSyncContainers[containerName].status == ecs.HealthStatusUnhealthy {
expCheck.Status = api.HealthCritical
break
}
}
}
found = true
break
}
Expand Down

0 comments on commit d58260e

Please sign in to comment.