Some more style fixes

Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>
This commit is contained in:
Alexandr Morozov
2014-08-29 15:21:28 +04:00
parent 6eaac7d571
commit 114838cbda
6 changed files with 23 additions and 26 deletions
+2 -3
View File
@@ -80,10 +80,9 @@ func (s *TagStore) pullRepository(r *registry.Session, out io.Writer, localName,
if err != nil {
if strings.Contains(err.Error(), "HTTP code: 404") {
return fmt.Errorf("Error: image %s not found", remoteName)
} else {
// Unexpected HTTP error
return err
}
// Unexpected HTTP error
return err
}
log.Debugf("Retrieving the tag list")