mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-10 02:45:44 +00: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:
parent
ed59b89a43
commit
2fb6a8daf6
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue