Merge pull request #3013 from mheon/logging_for_refresh
Logging for refresh
This commit is contained in:
commit
a01c62fcbd
|
@ -1032,6 +1032,8 @@ func (r *Runtime) Shutdown(force bool) error {
|
||||||
// Refreshes the state, recreating temporary files
|
// Refreshes the state, recreating temporary files
|
||||||
// Does not check validity as the runtime is not valid until after this has run
|
// Does not check validity as the runtime is not valid until after this has run
|
||||||
func (r *Runtime) refresh(alivePath string) error {
|
func (r *Runtime) refresh(alivePath string) error {
|
||||||
|
logrus.Debugf("Podman detected system restart - performing state refresh")
|
||||||
|
|
||||||
// First clear the state in the database
|
// First clear the state in the database
|
||||||
if err := r.state.Refresh(); err != nil {
|
if err := r.state.Refresh(); err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in New Issue