Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add log message when receiving error during cached image inspection #3216

Merged
merged 1 commit into from
May 19, 2022

Conversation

yinyic
Copy link
Contributor

@yinyic yinyic commented May 19, 2022

Summary

If ENV ECS_IMAGE_PULL_BEHAVIOR=prefer-cached, ECS Agent will attempt to use local container image if it exists, and the way we check is through docker client InspectImage. The PR adds a log message for when the API call returns an error.

Testing

New tests cover the changes: no

Description for the changelog

Add log message when receiving error during cached image inspection

Licensing

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

@yinyic yinyic merged commit 23c5d34 into aws:dev May 19, 2022
@yinyic yinyic deleted the cached_image_error branch May 19, 2022 20:55
@ubhattacharjya ubhattacharjya added this to the 1.61.2 milestone Jun 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants