From 9e7ec1f5d9b7efce044ae80535ecbf007c5a6981 Mon Sep 17 00:00:00 2001 From: Mike Brown Date: Thu, 29 Oct 2015 15:40:50 -0500 Subject: [PATCH] putting in support for rmi id for legacy docker.io/name images in local repositories Signed-off-by: Mike Brown Upstream-commit: b1da9fcc841a175776697ad64d2c6b22f27d097d Component: engine --- components/engine/graph/tags.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/engine/graph/tags.go b/components/engine/graph/tags.go index b212fd93ba..ad38db8a07 100644 --- a/components/engine/graph/tags.go +++ b/components/engine/graph/tags.go @@ -253,8 +253,6 @@ func (store *TagStore) Delete(repoName, ref string) (bool, error) { return false, err } - repoName = registry.NormalizeLocalName(repoName) - if ref == "" { // Delete the whole repository. delete(store.Repositories, repoName) @@ -262,6 +260,7 @@ func (store *TagStore) Delete(repoName, ref string) (bool, error) { } repoRefs, exists := store.Repositories[repoName] + if !exists { return false, fmt.Errorf("No such repository: %s", repoName) }