mirror of https://github.com/containers/podman.git
Fix comment on container.Stop()
Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #68 Approved by: rhatdan
This commit is contained in:
parent
4f8fe2b810
commit
bbef986214
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue