mirror of
https://github.com/containers/podman.git
synced 2025-05-21 17:16:22 +08:00
runtime: drop spurious message log
fix a regression introduced by 1d36501f961889f554daf3c696fe95443ef211b6 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
@ -439,9 +439,12 @@ func (r *Runtime) removeContainer(ctx context.Context, c *Container, force bool,
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if err := r.state.RemoveContainer(c); err != nil {
|
if err := r.state.RemoveContainer(c); err != nil {
|
||||||
cleanupErr = err
|
if cleanupErr == nil {
|
||||||
|
cleanupErr = err
|
||||||
|
} else {
|
||||||
|
logrus.Errorf("removing container: %v", err)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
logrus.Errorf("removing container: %v", err)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set container as invalid so it can no longer be used
|
// Set container as invalid so it can no longer be used
|
||||||
|
Reference in New Issue
Block a user