Skip to content

Conversation

mildlyincompetent
Copy link
Contributor

When HealthCheck is instantiated, the test parameter can be a str, which is turned into the the list ["CMD-SHELL", test].

This PR adds the same functionality to the setter for test, so that the effect for passing a str to the setter is the same as instantiating HealthCheck with a str for test.

This PR also cleans up the documentation on HealthCheck, fixing a typo and sticking to the python standard of int as opposed to integer.

Signed-off-by: Kajetan Champlewski <contact@kajetan.ch>
Signed-off-by: Kajetan Champlewski <contact@kajetan.ch>
Copy link
Contributor

@shin- shin- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@shin- shin- added this to the 4.1.0 milestone May 31, 2019
@shin- shin- merged commit 0f36893 into docker:master May 31, 2019
@rumpl rumpl modified the milestones: 4.1.0, 4.0.2 Jun 19, 2019
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