Skip to content
This repository has been archived by the owner on Jun 13, 2021. It is now read-only.

Use TagNameOnly to be able to implicitly add the latest tag. #653

Closed
wants to merge 2 commits into from

Conversation

rumpl
Copy link
Member

@rumpl rumpl commented Oct 1, 2019

No description provided.

@@ -48,11 +48,12 @@ func runRm(bundleStore store.BundleStore, app string) error {
return err
}

err = bundleStore.Remove(ref)
tagged := reference.TagNameOnly(ref)
err = bundleStore.Remove(tagged)
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: if err := bundleStore.Remove(tagged); err != nil

Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
@codecov
Copy link

codecov bot commented Oct 1, 2019

Codecov Report

Merging #653 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #653   +/-   ##
=======================================
  Coverage   71.56%   71.56%           
=======================================
  Files          51       51           
  Lines        2613     2613           
=======================================
  Hits         1870     1870           
  Misses        500      500           
  Partials      243      243

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fb71be0...747c326. Read the comment docs.

Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants