aws / amazon-ecs-agent

Amazon Elastic Container Service Agent
http://aws.amazon.com/ecs/
Apache License 2.0
2.08k stars 616 forks source link

Fix a comment and some minor refactoring #4410

Closed amogh09 closed 3 weeks ago

amogh09 commented 1 month ago

Summary

This is a small follow-up change for https://github.com/aws/amazon-ecs-agent/pull/4408 to fix a misleading comment and some minor refactoring.

Testing

NA

New tests cover the changes: No

Description for the changelog

Additional Information

Does this PR include breaking model changes? If so, Have you added transformation functions?

**Does this PR include the addition of new environment variables in the README?**

Licensing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.