diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-04-25 12:43:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-25 12:43:43 -0700 |
commit | a01c62fcbde1afdc77aa05b71c3c84ddacf7fc55 (patch) | |
tree | ce6142c73d679f6c67ed71ac1742a52c285140bb /libpod/runtime.go | |
parent | 01e79477ca75df54836944a94eb4840c9e9f49e1 (diff) | |
parent | 0df9f6f9fe0949074446e08961563d84c30fde39 (diff) | |
download | podman-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/runtime.go')
-rw-r--r-- | libpod/runtime.go | 2 |
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 |