fix: filtering requires case-by-case handling

See https://github.com/moby/moby/issues/32985.
This commit is contained in:
2022-03-30 16:11:52 +02:00
parent e8e41850b5
commit 323f4467c8
6 changed files with 35 additions and 10 deletions

View File

@ -26,7 +26,7 @@ var appVolumeListCommand = cli.Command{
Action: func(c *cli.Context) error {
app := internal.ValidateApp(c)
filters, err := app.Filters()
filters, err := app.Filters(false, true)
if err != nil {
logrus.Fatal(err)
}
@ -80,7 +80,7 @@ Passing "--force/-f" will select all volumes for removal. Be careful.
Action: func(c *cli.Context) error {
app := internal.ValidateApp(c)
filters, err := app.Filters()
filters, err := app.Filters(false, true)
if err != nil {
logrus.Fatal(err)
}