mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00
address review comments before merge
Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
@ -1195,10 +1195,8 @@ func (c *Container) pause() error {
|
||||
}
|
||||
|
||||
if err := c.ociRuntime.PauseContainer(c); err != nil {
|
||||
// TODO disabling to pass dockerpy tests. there is some sort of problem and perhaps
|
||||
//a race going on here.
|
||||
logrus.Error(err)
|
||||
//return err
|
||||
// TODO when using docker-py there is some sort of race/incompatibility here
|
||||
return err
|
||||
}
|
||||
|
||||
logrus.Debugf("Paused container %s", c.ID())
|
||||
@ -1215,10 +1213,8 @@ func (c *Container) unpause() error {
|
||||
}
|
||||
|
||||
if err := c.ociRuntime.UnpauseContainer(c); err != nil {
|
||||
// TODO disabling to pass dockerpy tests. there is some sort of problem and perhaps
|
||||
//a race going on here.
|
||||
logrus.Error(err)
|
||||
//return err
|
||||
// TODO when using docker-py there is some sort of race/incompatibility here
|
||||
return err
|
||||
}
|
||||
|
||||
logrus.Debugf("Unpaused container %s", c.ID())
|
||||
|
Reference in New Issue
Block a user