aboutsummaryrefslogtreecommitdiff
path: root/libpod/container_internal.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-07-04 13:51:27 +0200
committerGitHub <noreply@github.com>2019-07-04 13:51:27 +0200
commit1fe2965e4f672674f7b66648e9973a0ed5434bb4 (patch)
tree8d5385f5939ff3c139dc2e15b112ce4ad9797b1a /libpod/container_internal.go
parent1de81bc71704f4a317756c866695740fb6f65a9b (diff)
parentfec1de6ef4b3f769ba0906cda948a3215709cd37 (diff)
downloadpodman-1fe2965e4f672674f7b66648e9973a0ed5434bb4.tar.gz
podman-1fe2965e4f672674f7b66648e9973a0ed5434bb4.tar.bz2
podman-1fe2965e4f672674f7b66648e9973a0ed5434bb4.zip
Merge pull request #3495 from baude/golandcodecleanup
trivial cleanups from golang
Diffstat (limited to 'libpod/container_internal.go')
-rw-r--r--libpod/container_internal.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container_internal.go b/libpod/container_internal.go
index cb6c35049..4ed1209bb 100644
--- a/libpod/container_internal.go
+++ b/libpod/container_internal.go
@@ -610,7 +610,7 @@ func (c *Container) isStopped() (bool, error) {
if err != nil {
return true, err
}
- return (c.state.State != define.ContainerStateRunning && c.state.State != define.ContainerStatePaused), nil
+ return c.state.State != define.ContainerStateRunning && c.state.State != define.ContainerStatePaused, nil
}
// save container state to the database