mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
remove dead code in CmdPush
This commit is contained in:
parent
3b8c2417fb
commit
5ecd940a59
1 changed files with 2 additions and 3 deletions
|
@ -512,10 +512,9 @@ func (srv *Server) CmdPush(stdin io.ReadCloser, stdout io.Writer, args ...string
|
|||
return err
|
||||
}
|
||||
return nil
|
||||
} else {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
|
||||
return err
|
||||
}
|
||||
err = srv.runtime.graph.PushImage(stdout, img, srv.runtime.authConfig)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue