mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Release the push lock at the end
Docker-DCO-1.1-Signed-off-by: Abel Muiño <amuino@gmail.com> (github: amuino)
This commit is contained in:
parent
ffdc2d2657
commit
77a34920b2
1 changed files with 2 additions and 0 deletions
|
@ -1643,6 +1643,8 @@ func (srv *Server) ImagePush(job *engine.Job) engine.Status {
|
|||
job.Error(err)
|
||||
return engine.StatusErr
|
||||
}
|
||||
defer srv.poolRemove("push", localName)
|
||||
|
||||
// Resolve the Repository name from fqn to endpoint + name
|
||||
endpoint, remoteName, err := registry.ResolveRepositoryName(localName)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Reference in a new issue