mirror of
https://github.com/containers/podman.git
synced 2026-01-28 07:52:30 -05:00
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:
committed by
rvandernoort
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
|
||||
// behavior.
|
||||
libpodConfig.ExitCommandDelay = 5 * 60
|
||||
libpodConfig.ExitCommandDelay = runtimeConfig.Engine.ExitCommandDelay
|
||||
|
||||
sessID, err := ctr.ExecCreate(libpodConfig)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user