Closed singholt closed 2 months ago
This PR adds a log statement to host resource manager, that logs the resources that are not consumable by an incoming task. This is a follow-up to #4269 (external contribution). I updated the unit tests to reflect the change.
Closes https://github.com/aws/amazon-ecs-agent/issues/4268
Adds the key of the resources that were unable to be consumed, to the log message.
New tests cover the changes: yes
Enhancement: Add resources to the log message "Resources not consumed, enough resources not available"
Does this PR include breaking model changes? If so, Have you added transformation functions?
no
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Summary
This PR adds a log statement to host resource manager, that logs the resources that are not consumable by an incoming task. This is a follow-up to #4269 (external contribution). I updated the unit tests to reflect the change.
Closes https://github.com/aws/amazon-ecs-agent/issues/4268
Implementation details
Adds the key of the resources that were unable to be consumed, to the log message.
Testing
New tests cover the changes: yes
Description for the changelog
Enhancement: Add resources to the log message "Resources not consumed, enough resources not available"
Additional Information
Does this PR include breaking model changes? If so, Have you added transformation functions?
no **Does this PR include the addition of new environment variables in the README?**no
Licensing
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.