summaryrefslogtreecommitdiff
path: root/libpod/container_internal.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/container_internal.go')
-rw-r--r--libpod/container_internal.go12
1 files changed, 4 insertions, 8 deletions
diff --git a/libpod/container_internal.go b/libpod/container_internal.go
index 1d118dcb0..46c83149a 100644
--- a/libpod/container_internal.go
+++ b/libpod/container_internal.go
@@ -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())