diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-11-18 19:48:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-18 19:48:16 +0100 |
commit | 0376e6092c850435b4740876045fdccb467cafd8 (patch) | |
tree | 3f218782c0726046d5e191570a2e33bddcf4bddf /pkg/api | |
parent | 9b964945d661d4f97b4a97f2f67d33f9dcd11e50 (diff) | |
parent | fceecc3a5bb48280fb40f7547156fda44e313421 (diff) | |
download | podman-0376e6092c850435b4740876045fdccb467cafd8.tar.gz podman-0376e6092c850435b4740876045fdccb467cafd8.tar.bz2 podman-0376e6092c850435b4740876045fdccb467cafd8.zip |
Merge pull request #12342 from vrothberg/fix-12334
remote checkpoint/restore: more fixes
Diffstat (limited to 'pkg/api')
-rw-r--r-- | pkg/api/handlers/libpod/containers.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/api/handlers/libpod/containers.go b/pkg/api/handlers/libpod/containers.go index b0cec2b1f..d5da22a91 100644 --- a/pkg/api/handlers/libpod/containers.go +++ b/pkg/api/handlers/libpod/containers.go @@ -219,6 +219,8 @@ func Checkpoint(w http.ResponseWriter, r *http.Request) { Export bool `schema:"export"` IgnoreRootFS bool `schema:"ignoreRootFS"` PrintStats bool `schema:"printStats"` + PreCheckpoint bool `schema:"preCheckpoint"` + WithPrevious bool `schema:"withPrevious"` }{ // override any golang type defaults } @@ -242,6 +244,8 @@ func Checkpoint(w http.ResponseWriter, r *http.Request) { TCPEstablished: query.TCPEstablished, IgnoreRootFS: query.IgnoreRootFS, PrintStats: query.PrintStats, + PreCheckPoint: query.PreCheckpoint, + WithPrevious: query.WithPrevious, } if query.Export { |