summaryrefslogtreecommitdiff
path: root/libpod/container.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/container.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/container.go')
-rw-r--r--libpod/container.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/libpod/container.go b/libpod/container.go
index 3de0ed02e..8a2ff1fad 100644
--- a/libpod/container.go
+++ b/libpod/container.go
@@ -516,9 +516,9 @@ func (c *Container) Start() error {
return nil
}
-// Stop uses the container's requested stop signal (or SIGTERM if no signal was
-// specified) to stop the container, and if it has not stopped after the given
-// timeout (in seconds), uses SIGKILL to attempt to forcibly stop the container
+// Stop uses the container's stop signal (or SIGTERM if no signal was specified)
+// to stop the container, and if it has not stopped after the given timeout (in
+// seconds), uses SIGKILL to attempt to forcibly stop the container.
// If timeout is 0, SIGKILL will be used immediately
func (c *Container) Stop(timeout int64) error {
c.lock.Lock()