From bc45428220e4a8d05d9a0cbc701a729f7fe2aa8d Mon Sep 17 00:00:00 2001 From: Srini Brahmaroutu Date: Tue, 11 Nov 2014 22:17:53 +0000 Subject: [PATCH] improve error message to print the tag Closes #9001 Signed-off-by: Srini Brahmaroutu --- graph/pull.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graph/pull.go b/graph/pull.go index 775c318af1..a7394a4b92 100644 --- a/graph/pull.go +++ b/graph/pull.go @@ -177,7 +177,7 @@ func (s *TagStore) pullRepository(r *registry.Session, out io.Writer, localName, repoData, err := r.GetRepositoryData(remoteName) if err != nil { if strings.Contains(err.Error(), "HTTP code: 404") { - return fmt.Errorf("Error: image %s not found", remoteName) + return fmt.Errorf("Error: image %s:%s not found", remoteName, askedTag) } // Unexpected HTTP error return err