mirror of
https://github.com/clearlinux/docker.git
synced 2026-10-03 23:38:24 +00:00
Some more style fixes
Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>
This commit is contained in:
+2
-3
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user