Adding support for withPidMode #332 by sashkachan · Pull Request #333 · docker-java/docker-java
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@marcuslinke do you need at all this huge constructor?
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope. Not needed. It's already removed in 'issue-246' branch. So no need to remove it here.
Aleksandr Guljajev added 2 commits
September 28, 2015 17:12Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@CheckForNull here also required as it doesn't inherited by any interfaces
I think all issues but humongous constructor were addressed. Let me know if I missed anything.
Thanks.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want to reflect the CLI, it should be withPid(String pidMode):
--pid= PID namespace to use
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! Thanks.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters