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

docker_client: Add missing error handling in getContainerStatsNotStre… #2757

Merged
merged 1 commit into from
Dec 7, 2020

Conversation

mythri-garaga
Copy link
Contributor

@mythri-garaga mythri-garaga commented Dec 4, 2020

Summary

This PR potentially fixes flaky test TestStatsEngineWithNewContainersWithPolling. We currently don't handle when ContainerStats() returns error which leads to nil pointer dereference.

This PR is a copy of #2751 which was wrongly merged to a ecs_exec feature branch.

Implementation details

Testing

make test succeeds
New tests cover the changes: yes

Description for the changelog

Bug - Add missing error handling in getContainerStatsNotStreamed

Licensing

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

@mythri-garaga mythri-garaga merged commit f141130 into aws:dev Dec 7, 2020
@mythri-garaga mythri-garaga added this to the 1.49.0 milestone Jan 6, 2021
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.

4 participants