Merge pull request #3013 from mheon/logging_for_refresh

Logging for refresh
This commit is contained in:
OpenShift Merge Robot 2019-04-25 12:43:43 -07:00 committed by GitHub
commit a01c62fcbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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