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

Fix flag description for --host-add #648

Merged
merged 1 commit into from
Oct 30, 2017

Conversation

thaJeztah
Copy link
Member

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.

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

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-io
Copy link

codecov-io commented Oct 28, 2017

Codecov Report

Merging #648 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@            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

Copy link
Contributor

@boaz0 boaz0 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

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

LGTM 🐮

Copy link
Contributor

@dnephin dnephin left a comment

Choose a reason for hiding this comment

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

LGTM

@dnephin dnephin merged commit a79e742 into docker:master Oct 30, 2017
@GordonTheTurtle GordonTheTurtle added this to the 17.11.0 milestone Oct 30, 2017
@thaJeztah thaJeztah deleted the fix-host-add-description branch October 30, 2017 17:53
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.

6 participants