mirror of https://github.com/containers/podman.git
Fix lint
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
This commit is contained in:
parent
43c51c58ad
commit
eb942b1b47
|
@ -819,11 +819,7 @@ func (c *Container) mountStorage() (err error) {
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
if err := c.save(); err != nil {
|
return c.save()
|
||||||
return err
|
|
||||||
}
|
|
||||||
|
|
||||||
return nil
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// CleanupStorage unmounts all mount points in container and cleans up container storage
|
// CleanupStorage unmounts all mount points in container and cleans up container storage
|
||||||
|
@ -859,9 +855,5 @@ func (c *Container) cleanupStorage() error {
|
||||||
c.state.Mountpoint = ""
|
c.state.Mountpoint = ""
|
||||||
c.state.Mounted = false
|
c.state.Mounted = false
|
||||||
|
|
||||||
if err := c.save(); err != nil {
|
return c.save()
|
||||||
return err
|
|
||||||
}
|
|
||||||
|
|
||||||
return nil
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue