1
0
Fork 0
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:
Evan Hazlett 2016-10-31 11:53:43 -04:00
parent cf6483a152
commit baffa793db

View file

@ -286,9 +286,8 @@ func (container *Container) UnmountSecrets() error {
if _, err := os.Stat(container.SecretMountPath()); err != nil {
if os.IsNotExist(err) {
return nil
} else {
return err
}
return err
}
return detachMounted(container.SecretMountPath())