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 custom exception message when HealthState not present in docker inspect response #2206

Merged
merged 1 commit into from Mar 26, 2020
Merged

Add custom exception message when HealthState not present in docker inspect response #2206

merged 1 commit into from Mar 26, 2020

Conversation

pivovarit
Copy link
Contributor

@pivovarit pivovarit commented Dec 21, 2019

#2205

I don't think much more can be done without touching the public API. Catching NullPointerException and returning false instead is likely to introduce confusion. Not sure if defaulting to true is better for the same reason.

@stale
Copy link

stale bot commented Mar 26, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe this is a mistake, please reply to this comment to keep it open. If there isn't one already, a PR to fix or at least reproduce the problem in a test case will always help us get back on track to tackle this.

@stale stale bot added the stale label Mar 26, 2020
@stale stale bot removed the stale label Mar 26, 2020
@bsideup
Copy link
Member

bsideup commented Mar 26, 2020

@pivovarit sorry that it got stale! Could you please fix the conflict? Will be happy to merge right after!

@pivovarit
Copy link
Contributor Author

@bsideup done!

@bsideup bsideup added this to the next milestone Mar 26, 2020
@bsideup bsideup merged commit a51b1e0 into testcontainers:master Mar 26, 2020
@bsideup
Copy link
Member

bsideup commented Mar 26, 2020

@pivovarit merged, thanks! 🎉

@pivovarit pivovarit deleted the generic-container-npe-fix branch March 26, 2020 16:43
@rnorth
Copy link
Member

rnorth commented Apr 13, 2020

This was released in https://github.com/testcontainers/testcontainers-java/releases/tag/1.14.0 🎉

Thanks for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants