From c3602075ec6ee535e2fbf3e4fcf2ecbd27fa22c9 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Thu, 21 Jun 2018 11:09:17 -0400 Subject: Make CGroups cleanup optional on whether they exist Signed-off-by: Matthew Heon Closes: #981 Approved by: baude --- libpod/container_api.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libpod/container_api.go') diff --git a/libpod/container_api.go b/libpod/container_api.go index d181af2a8..f4613534c 100644 --- a/libpod/container_api.go +++ b/libpod/container_api.go @@ -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 { -- cgit v1.2.3-54-g00ecf