diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-11-17 12:42:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-17 12:42:06 +0100 |
commit | d30f9ae8b6a21fbef6704e372e9ec74fc689875e (patch) | |
tree | 618af21a5e62ca8c62348f4159d675e11641cd7b /libpod | |
parent | c92bdf550c130cfe30fb545dc7bcf09f842444b4 (diff) | |
parent | cf4967de4d4e4abeb183217dfee130d8ec2e02f5 (diff) | |
download | podman-d30f9ae8b6a21fbef6704e372e9ec74fc689875e.tar.gz podman-d30f9ae8b6a21fbef6704e372e9ec74fc689875e.tar.bz2 podman-d30f9ae8b6a21fbef6704e372e9ec74fc689875e.zip |
Merge pull request #8346 from Luap99/shell-completion
Improve the shell completion api
Diffstat (limited to 'libpod')
-rw-r--r-- | libpod/filters/pods.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/filters/pods.go b/libpod/filters/pods.go index 7d12eefa6..3cd97728f 100644 --- a/libpod/filters/pods.go +++ b/libpod/filters/pods.go @@ -88,7 +88,7 @@ func GeneratePodFilterFunc(filter, filterValue string) ( return match }, nil case "status": - if !util.StringInSlice(filterValue, []string{"stopped", "running", "paused", "exited", "dead", "created"}) { + if !util.StringInSlice(filterValue, []string{"stopped", "running", "paused", "exited", "dead", "created", "degraded"}) { return nil, errors.Errorf("%s is not a valid pod status", filterValue) } return func(p *libpod.Pod) bool { |