mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
lint fixes
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
parent
cf6483a152
commit
baffa793db
1 changed files with 1 additions and 2 deletions
|
@ -286,9 +286,8 @@ func (container *Container) UnmountSecrets() error {
|
||||||
if _, err := os.Stat(container.SecretMountPath()); err != nil {
|
if _, err := os.Stat(container.SecretMountPath()); err != nil {
|
||||||
if os.IsNotExist(err) {
|
if os.IsNotExist(err) {
|
||||||
return nil
|
return nil
|
||||||
} else {
|
|
||||||
return err
|
|
||||||
}
|
}
|
||||||
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
return detachMounted(container.SecretMountPath())
|
return detachMounted(container.SecretMountPath())
|
||||||
|
|
Loading…
Reference in a new issue