moby--moby/api/server
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
..
backend/build api/server/backend/build: remove Tagger and NewTagger 2022-09-07 20:36:00 +02:00
httpstatus
httputils
middleware api/server: fix empty-lines (revive) 2022-09-28 01:58:51 +02:00
router Volume prune: only prune anonymous volumes by default 2022-10-04 20:55:13 +00:00
errorhandler.go
middleware.go
server.go set ReadHeaderTimeout to address G112: Potential Slowloris Attack (gosec) 2022-09-22 12:13:28 +02:00
server_test.go