diff --git a/virtcontainers/container.go b/virtcontainers/container.go index fd52493fb2..dca9df5f0f 100644 --- a/virtcontainers/container.go +++ b/virtcontainers/container.go @@ -1196,8 +1196,8 @@ func (c *Container) pause() error { return err } - if c.state.State != types.StateRunning && c.state.State != types.StateReady { - return fmt.Errorf("Container not running or ready, impossible to pause") + if c.state.State != types.StateRunning { + return fmt.Errorf("Container not running, impossible to pause") } if err := c.sandbox.agent.pauseContainer(c.sandbox, *c); err != nil {