mirror of
https://github.com/containers/podman.git
synced 2025-06-05 14:06:01 +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 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
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user