mirror of
https://github.com/containers/podman.git
synced 2025-12-02 11:08:36 +08:00
podman-remote ps --external --pod --sort do not work.
Fixup the bindings and the handling of the --external --por and --sort flags. The --storage option was renamed --external, make sure we use external up and down the stack. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@@ -73,7 +73,7 @@ func RemoveContainer(w http.ResponseWriter, r *http.Request) {
|
||||
utils.InternalServerError(w, err)
|
||||
return
|
||||
}
|
||||
if report[0].Err != nil {
|
||||
if len(report) > 0 && report[0].Err != nil {
|
||||
utils.InternalServerError(w, report[0].Err)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user