Merge pull request #18798 from edsantiago/fix_filters

filters: better handling of id=
This commit is contained in:
OpenShift Merge Robot
2023-06-07 12:31:11 -04:00
committed by GitHub
14 changed files with 324 additions and 130 deletions

View File

@ -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
}