diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-07-04 13:51:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-04 13:51:27 +0200 |
commit | 1fe2965e4f672674f7b66648e9973a0ed5434bb4 (patch) | |
tree | 8d5385f5939ff3c139dc2e15b112ce4ad9797b1a /libpod/container_internal.go | |
parent | 1de81bc71704f4a317756c866695740fb6f65a9b (diff) | |
parent | fec1de6ef4b3f769ba0906cda948a3215709cd37 (diff) | |
download | podman-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.go | 2 |
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 |