aboutsummaryrefslogtreecommitdiff
path: root/libpod/runtime.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2017-11-28 11:30:15 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2017-11-29 12:15:15 +0000
commitbbef98621491b79d5b2a397bc17ed4d7967a7aff (patch)
treefd947fb11fc5c1bae4669e70f959235cd4fe525d /libpod/runtime.go
parent4f8fe2b810f5ed25308bc9be0edc6ace3fac0f64 (diff)
downloadpodman-bbef98621491b79d5b2a397bc17ed4d7967a7aff.tar.gz
podman-bbef98621491b79d5b2a397bc17ed4d7967a7aff.tar.bz2
podman-bbef98621491b79d5b2a397bc17ed4d7967a7aff.zip
Fix comment on container.Stop()
Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #68 Approved by: rhatdan
Diffstat (limited to 'libpod/runtime.go')
-rw-r--r--libpod/runtime.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/runtime.go b/libpod/runtime.go
index 74328bed7..1a18b7e8e 100644
--- a/libpod/runtime.go
+++ b/libpod/runtime.go
@@ -214,7 +214,7 @@ func (r *Runtime) Shutdown(force bool) error {
// Shutdown all containers if --force is given
if force {
ctrs, err := r.state.AllContainers()
- if err !=nil {
+ if err != nil {
logrus.Errorf("Error retrieving containers from database: %v", err)
} else {
for _, ctr := range ctrs {