1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/volume
Brian Goff 618f26ccbc Volume prune: only prune anonymous volumes by default
This adds a new filter argument to the volume prune endpoint "all".
When this is not set, or it is a false-y value, then only anonymous
volumes are considered for pruning.

When `all` is set to a truth-y value, you get the old behavior.

This is an API change, but I think one that is what most people would
want.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-10-04 20:55:13 +00:00
..
drivers golangci-lint: update to v1.49.0 2022-09-23 23:31:27 +02:00
local volume: fix empty-lines (revive) 2022-09-28 01:58:50 +02:00
mounts volume: fix empty-lines (revive) 2022-09-28 01:58:50 +02:00
service Volume prune: only prune anonymous volumes by default 2022-10-04 20:55:13 +00:00
testutils linting: gosec: fix or suppress G112, G114 in test code 2022-09-04 15:36:51 +02:00
volume.go Move mount parsing to separate package. 2018-04-19 06:35:54 -04:00