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 nil
} else {
return err
}
return nil
return err
}
err = srv.runtime.graph.PushImage(stdout, img, srv.runtime.authConfig)
if err != nil {