Merge pull request #3643 from afbjorklund/mutex

Avoid double unlock of image load mutex
pull/3656/head
Thomas Strömberg 2019-02-11 13:57:38 -08:00 committed by GitHub
commit 50d69c034e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -223,7 +223,6 @@ func LoadFromCacheBlocking(cr bootstrapper.CommandRunner, k8s config.KubernetesC
if err != nil {
return errors.Wrapf(err, "%s load %s", r.Name(), dst)
}
loadImageLock.Unlock()
if err := cr.Run("sudo rm -rf " + dst); err != nil {
return errors.Wrap(err, "deleting temp docker image location")