1
0
Fork 0
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:
Dominik Honnef 2013-04-03 11:08:32 +02:00
parent 3b8c2417fb
commit 5ecd940a59

View file

@ -512,10 +512,9 @@ func (srv *Server) CmdPush(stdin io.ReadCloser, stdout io.Writer, args ...string
return err return err
} }
return nil return nil
} else {
return err
} }
return nil
return err
} }
err = srv.runtime.graph.PushImage(stdout, img, srv.runtime.authConfig) err = srv.runtime.graph.PushImage(stdout, img, srv.runtime.authConfig)
if err != nil { if err != nil {