mirror of
https://github.com/containers/podman.git
synced 2025-06-17 06:57:43 +08:00
Plumb through the --stop-timeout signal handling
podman run/create have the ability to set the stop timeout flag. We need to stop it in the database. Also Allowing negative time for stop timeout makes no sense, so switching to timeout of uint, allows user to specify huge timeout values. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #158 Approved by: TomSweeneyRedHat
This commit is contained in:

committed by
Atomic Bot

parent
3607fcb553
commit
1f49f555af
@ -26,6 +26,7 @@ func getTestContainer(id, name, locksDir string) (*Container, error) {
|
||||
Stdin: true,
|
||||
Labels: make(map[string]string),
|
||||
StopSignal: 0,
|
||||
StopTimeout: 0,
|
||||
CreatedTime: time.Now(),
|
||||
},
|
||||
state: &containerRuntimeInfo{
|
||||
|
Reference in New Issue
Block a user