mirror of
https://github.com/containers/podman.git
synced 2025-09-21 19:55:08 +08:00
Make CGroups cleanup optional on whether they exist
Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #981 Approved by: baude
This commit is contained in:
@ -805,6 +805,8 @@ func (c *Container) Refresh(ctx context.Context) error {
|
||||
return err
|
||||
}
|
||||
|
||||
logrus.Debugf("Resetting state of container %s", c.ID())
|
||||
|
||||
// We've finished unwinding the container back to its initial state
|
||||
// Now safe to refresh container state
|
||||
if err := resetState(c.state); err != nil {
|
||||
|
Reference in New Issue
Block a user