From 60c7735dba9ea6e75bafeb2919056f85c1cae575 Mon Sep 17 00:00:00 2001 From: John Whitman Date: Fri, 3 Feb 2023 19:11:44 -0500 Subject: [PATCH] Fixes tests. --- init/fluent_bit_init_process_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init/fluent_bit_init_process_test.go b/init/fluent_bit_init_process_test.go index fa6becaf4..1b959140c 100644 --- a/init/fluent_bit_init_process_test.go +++ b/init/fluent_bit_init_process_test.go @@ -108,7 +108,7 @@ func TestSetECSTaskMetadata(t *testing.T) { ECS_TASK_DEFINITION: "esc-task-definition:1", } - expectedContent1 := "export FLB_AWS_USER_AGENT=init\n" + + expectedContent1 := "export FLB_AWS_USER_AGENT=ecs-init\n" + "export AWS_REGION=us-west-2\n" + "export AWS_AVAILABILITY_ZONE=us-west-2a\n" + "export ECS_CLUSTER=ecs-Test\n" + @@ -135,7 +135,7 @@ func TestSetECSTaskMetadata(t *testing.T) { ECS_TASK_DEFINITION: "", } - expectedContent2 := "export FLB_AWS_USER_AGENT=init\n" + + expectedContent2 := "export FLB_AWS_USER_AGENT=ecs-init\n" + "export AWS_REGION=us-west-1\n" + "export ECS_CLUSTER=ecs-Test\n"