mirror of https://github.com/containers/podman.git
Add ExitCommandDelay configuration use in API exec handler
[NO NEW TESTS NEEDED] Signed-off-by: Rover van der Noort <s.r.vandernoort@student.tudelft.nl>
This commit is contained in:
parent
ed59b89a43
commit
2fb6a8daf6
|
|
@ -73,7 +73,7 @@ func ExecCreateHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
|
|
||||||
// Run the exit command after 5 minutes, to mimic Docker's exec cleanup
|
// Run the exit command after 5 minutes, to mimic Docker's exec cleanup
|
||||||
// behavior.
|
// behavior.
|
||||||
libpodConfig.ExitCommandDelay = 5 * 60
|
libpodConfig.ExitCommandDelay = runtimeConfig.Engine.ExitCommandDelay
|
||||||
|
|
||||||
sessID, err := ctr.ExecCreate(libpodConfig)
|
sessID, err := ctr.ExecCreate(libpodConfig)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue