diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-09-29 23:02:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-29 23:02:00 +0200 |
commit | 61068649fac22fd9ef4fe0b57b4c29b650f3c05c (patch) | |
tree | 7b74a32b0215806163a3079ae1e3b4224cb10cf2 /pkg/api/handlers | |
parent | 9cdd8964adb003bda49f3724979fdb4eb5f04ee1 (diff) | |
parent | 2478e32ca334692dd18c4534c1f9b2a6a2c296cf (diff) | |
download | podman-61068649fac22fd9ef4fe0b57b4c29b650f3c05c.tar.gz podman-61068649fac22fd9ef4fe0b57b4c29b650f3c05c.tar.bz2 podman-61068649fac22fd9ef4fe0b57b4c29b650f3c05c.zip |
Merge pull request #15909 from cdoern/restore
fix restore API endpoint
Diffstat (limited to 'pkg/api/handlers')
-rw-r--r-- | pkg/api/handlers/libpod/containers.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/api/handlers/libpod/containers.go b/pkg/api/handlers/libpod/containers.go index 854740b17..9d18c9420 100644 --- a/pkg/api/handlers/libpod/containers.go +++ b/pkg/api/handlers/libpod/containers.go @@ -305,6 +305,7 @@ func Restore(w http.ResponseWriter, r *http.Request) { PrintStats bool `schema:"printStats"` FileLocks bool `schema:"fileLocks"` PublishPorts string `schema:"publishPorts"` + Pod string `schema:"pod"` }{ // override any golang type defaults } @@ -324,6 +325,7 @@ func Restore(w http.ResponseWriter, r *http.Request) { PrintStats: query.PrintStats, FileLocks: query.FileLocks, PublishPorts: strings.Fields(query.PublishPorts), + Pod: query.Pod, } var names []string |