diff options
Diffstat (limited to 'libpod')
-rw-r--r-- | libpod/runtime_ctr.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/runtime_ctr.go b/libpod/runtime_ctr.go index ca9b42575..594e35dc5 100644 --- a/libpod/runtime_ctr.go +++ b/libpod/runtime_ctr.go @@ -104,7 +104,7 @@ func (r *Runtime) removeContainer(c *Container, force bool) error { } if c.state.State == ContainerStatePaused { - return errors.Wrapf("container %s is paused, cannot remove until unpaused", c.ID()) + return errors.Wrapf(ErrCtrStateInvalid, "container %s is paused, cannot remove until unpaused", c.ID()) } // Check that the container's in a good state to be removed |