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

Adding utility functions - IsNameOnly and EnsureTagged #2062

Merged
merged 1 commit into from
Nov 11, 2016

Conversation

nishanttotla
Copy link
Contributor

@nishanttotla nishanttotla commented Nov 11, 2016

IsNameOnly and EnsureTagged aren't present in docker/docker/reference, but useful trivial utility functions. This also reduces the gap between the the Docker reference package and the one in this repo.

Signed-off-by: Nishant Totla [email protected]

@codecov-io
Copy link

codecov-io commented Nov 11, 2016

Current coverage is 51.22% (diff: 0.00%)

Merging #2062 into master will decrease coverage by 10.18%

@@             master      #2062   diff @@
==========================================
  Files           126        128      +2   
  Lines         11308      11322     +14   
  Methods           0          0           
  Messages          0          0           
  Branches          0          0           
==========================================
- Hits           6944       5800   -1144   
- Misses         3476       4775   +1299   
+ Partials        888        747    -141   

Powered by Codecov. Last update e249b61...2caeb61

@nishanttotla
Copy link
Contributor Author

Ping @dmcgowan @aaronlehmann

@dmcgowan
Copy link
Collaborator

This does have some overlap with what will be added #1778. Would prefer matching the interface approved in that PR for the new functions. Not going to get that merged until after 2.6 since it has a large PR needed to go along with it in the engine.

@nishanttotla
Copy link
Contributor Author

@dmcgowan cool! let me update the PR to match your changes. Hopefully the changes in this PR are acceptable for the next vendor.

@dmcgowan
Copy link
Collaborator

@nishanttotla just include the 2 functions you need, should be a simple vendor

@nishanttotla
Copy link
Contributor Author

@dmcgowan I've updated the PR. Let me know if this is acceptable.

@aaronlehmann
Copy link
Contributor

LGTM

Can you please update the PR description to match the changed function name?

@nishanttotla nishanttotla changed the title Adding utility functions - IsNameOnly and WithDefaultTag Adding utility functions - IsNameOnly and EnsureTagged Nov 11, 2016
@dmcgowan
Copy link
Collaborator

LGTM

@dmcgowan dmcgowan merged commit d22e09a into distribution:master Nov 11, 2016
@nishanttotla nishanttotla deleted the with-default-tag branch November 12, 2016 01:45
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