mirror of
https://github.com/containers/podman.git
synced 2025-10-19 20:23:08 +08:00
Merge pull request #3013 from mheon/logging_for_refresh
Logging for refresh
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user