Skip to content

Commit

Permalink
change FLB_AWS_USER_AGENT to ecs-init
Browse files Browse the repository at this point in the history
  • Loading branch information
Galaoaoa committed Aug 2, 2022
1 parent f0bba88 commit db3fd7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init/fluent_bit_init_process.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func setECSTaskMetadata(metadata ECSTaskMetadata, filePath string) {
defer invokeFile.Close()

// set the FLB_AWS_USER_AGENT env var as "init" to get the image usage
initUsage := "export FLB_AWS_USER_AGENT=init\n"
initUsage := "export FLB_AWS_USER_AGENT=ecs-init\n"
_, err := invokeFile.WriteString(initUsage)
if err != nil {
logrus.Errorln(err)
Expand Down

0 comments on commit db3fd7f

Please sign in to comment.