mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
fix log import
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
parent
8c7651998f
commit
e221b74bd1
1 changed files with 1 additions and 2 deletions
|
@ -12,7 +12,6 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/Sirupsen/logrus"
|
"github.com/Sirupsen/logrus"
|
||||||
"github.com/cloudflare/cfssl/log"
|
|
||||||
"github.com/docker/docker/container"
|
"github.com/docker/docker/container"
|
||||||
"github.com/docker/docker/daemon/links"
|
"github.com/docker/docker/daemon/links"
|
||||||
"github.com/docker/docker/pkg/idtools"
|
"github.com/docker/docker/pkg/idtools"
|
||||||
|
@ -150,7 +149,7 @@ func (daemon *Daemon) setupSecretDir(c *container.Container) (setupErr error) {
|
||||||
_ = detachMounted(localMountPath)
|
_ = detachMounted(localMountPath)
|
||||||
|
|
||||||
if err := os.RemoveAll(localMountPath); err != nil {
|
if err := os.RemoveAll(localMountPath); err != nil {
|
||||||
log.Errorf("error cleaning up secret mount: %s", err)
|
logrus.Errorf("error cleaning up secret mount: %s", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
Loading…
Reference in a new issue