summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-04-25 12:43:43 -0700
committerGitHub <noreply@github.com>2019-04-25 12:43:43 -0700
commita01c62fcbde1afdc77aa05b71c3c84ddacf7fc55 (patch)
treece6142c73d679f6c67ed71ac1742a52c285140bb /libpod
parent01e79477ca75df54836944a94eb4840c9e9f49e1 (diff)
parent0df9f6f9fe0949074446e08961563d84c30fde39 (diff)
downloadpodman-a01c62fcbde1afdc77aa05b71c3c84ddacf7fc55.tar.gz
podman-a01c62fcbde1afdc77aa05b71c3c84ddacf7fc55.tar.bz2
podman-a01c62fcbde1afdc77aa05b71c3c84ddacf7fc55.zip
Merge pull request #3013 from mheon/logging_for_refresh
Logging for refresh
Diffstat (limited to 'libpod')
-rw-r--r--libpod/runtime.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpod/runtime.go b/libpod/runtime.go
index 38e0e0ff6..d03731284 100644
--- a/libpod/runtime.go
+++ b/libpod/runtime.go
@@ -1032,6 +1032,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