address review comments before merge

Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
baude
2020-01-10 09:47:19 -06:00
parent 25b34972f4
commit c3956b1974
9 changed files with 16 additions and 19 deletions

View File

@ -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())