-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Fix flag description for --host-add #648
Conversation
The `--host-add` flag adds a new `host:ip` mapping. Even though adding an entry is idempotent (adding the same mapping multiple times does not update the service's definition), it does not _update_ an existing mapping with a new IP-address (multiple IP-addresses can be defined for a host). This patch removes the "or update" part from the flag's description. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Codecov Report
@@ Coverage Diff @@
## master #648 +/- ##
=========================================
- Coverage 49.8% 49.8% -0.01%
=========================================
Files 210 210
Lines 17292 17292
=========================================
- Hits 8613 8612 -1
- Misses 8253 8254 +1
Partials 426 426 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🐮
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The
--host-add
flag adds a newhost:ip
mapping. Even though adding an entry is idempotent (adding the same mapping multiple times does not update the service's definition), it does not update an existing mapping with a new IP-address (multiple IP-addresses can be defined for a host).This patch removes the "or update" part from the flag's description.
relates to moby/moby#35325
There's possibly some other flags that fall in the same category, but I kept those out for now (can do a follow up)
ping @vdemeester @dnephin PTAL