mirror of
https://github.com/containers/podman.git
synced 2025-06-26 04:46:57 +08:00
Merge pull request #18798 from edsantiago/fix_filters
filters: better handling of id=
This commit is contained in:
@ -290,7 +290,7 @@ func sortPodPsOutput(sortBy string, lprs []*entities.ListPodsReport) error {
|
||||
case "status":
|
||||
sort.Sort(podPsSortedStatus{lprs})
|
||||
default:
|
||||
return errors.New("invalid option for --sort, options are: id, names, or number")
|
||||
return errors.New("invalid option for --sort, options are: created, id, name, number, or status")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user