Skip to content

reference: Replace EnsureTagged with TagNameOnly - #2173

Merged
dmcgowan merged 1 commit into
distribution:masterfrom
aaronlehmann:tagnameonly
Jan 26, 2017
Merged

dmcgowan merged 1 commit into
distribution:masterfrom
aaronlehmann:tagnameonly

Conversation

@aaronlehmann

Copy link
Copy Markdown

The common use case for this function is to add a default tag if the
reference only has a name. The current behavior only adds the default
tag if there is no tag, which requires most callers to check for a
digest. Change the behavior to only add default tags to name-only
references, and change the name to reflect this. The documentation
already described the new behavior, so it does not need to be changed.

cc @dmcgowan

The common use case for this function is to add a default tag if the
reference only has a name. The current behavior only adds the default
tag if there is no *tag*, which requires most callers to check for a
digest. Change the behavior to only add default tags to name-only
references, and change the name to reflect this. The documentation
already described the new behavior, so it does not need to be changed.

Signed-off-by: Aaron Lehmann <[email protected]>
@codecov-io

Copy link
Copy Markdown

Current coverage is 51.24% (diff: 0.00%)

Merging #2173 into master will decrease coverage by 10.01%

@@                                                 master      #2173   diff @@
==============================================================================
  Files                                               125        125           
  Lines                                             11447      11446      -1   
  Methods                                               0          0           
  Messages                                              0          0           
  Branches                                              0          0           
==============================================================================
- Hits                                               7012       5865   -1147   
- Misses                                             3548       4835   +1287   
+ Partials                                            887        746    -141   

Powered by Codecov. Last update 7a09723...245ca46

@dmcgowan

Copy link
Copy Markdown
Collaborator

LGTM

@dmcgowan
dmcgowan merged commit 545102e into distribution:master Jan 26, 2017
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.

3 participants