From 0df9f6f9fe0949074446e08961563d84c30fde39 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Thu, 25 Apr 2019 11:29:16 -0400 Subject: [PATCH] Add a debug message indicating that a refresh occurred Signed-off-by: Matthew Heon --- libpod/runtime.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libpod/runtime.go b/libpod/runtime.go index 3b1c2be986..7b2d580cd0 100644 --- a/libpod/runtime.go +++ b/libpod/runtime.go @@ -1018,6 +1018,8 @@ func (r *Runtime) Shutdown(force bool) error { // Refreshes the state, recreating temporary files // Does not check validity as the runtime is not valid until after this has run func (r *Runtime) refresh(alivePath string) error { + logrus.Debugf("Podman detected system restart - performing state refresh") + // First clear the state in the database if err := r.state.Refresh(); err != nil { return err