From d58260e3f9d35a5f6d2db2b7d0701b46e363dd40 Mon Sep 17 00:00:00 2001 From: Abhishek Date: Wed, 11 Dec 2024 02:06:06 +0530 Subject: [PATCH] Update command_test.go --- subcommand/health-sync/command_test.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/subcommand/health-sync/command_test.go b/subcommand/health-sync/command_test.go index c9a3fbfb..55135cf7 100644 --- a/subcommand/health-sync/command_test.go +++ b/subcommand/health-sync/command_test.go @@ -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 }