mirror of
https://github.com/containers/podman.git
synced 2025-05-31 15:42:48 +08:00
Fix lint
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
This commit is contained in:
@ -819,11 +819,7 @@ func (c *Container) mountStorage() (err error) {
|
||||
}
|
||||
}()
|
||||
|
||||
if err := c.save(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
return c.save()
|
||||
}
|
||||
|
||||
// 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.Mounted = false
|
||||
|
||||
if err := c.save(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
return c.save()
|
||||
}
|
||||
|
Reference in New Issue
Block a user