summaryrefslogtreecommitdiff
path: root/libpod/runtime.go
diff options
context:
space:
mode:
authorMatthew Heon <mheon@redhat.com>2019-04-25 11:29:16 -0400
committerMatthew Heon <mheon@redhat.com>2019-04-25 11:29:16 -0400
commit0df9f6f9fe0949074446e08961563d84c30fde39 (patch)
tree6d20afe6f72d4ea3b886c4f94de16944fbbfc973 /libpod/runtime.go
parentd08efde586b18ed169da2502cc17b14b0497b08a (diff)
downloadpodman-0df9f6f9fe0949074446e08961563d84c30fde39.tar.gz
podman-0df9f6f9fe0949074446e08961563d84c30fde39.tar.bz2
podman-0df9f6f9fe0949074446e08961563d84c30fde39.zip
Add a debug message indicating that a refresh occurred
Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'libpod/runtime.go')
-rw-r--r--libpod/runtime.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpod/runtime.go b/libpod/runtime.go
index 3b1c2be98..7b2d580cd 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