summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/libpod/system.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/api/handlers/libpod/system.go')
-rw-r--r--pkg/api/handlers/libpod/system.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/handlers/libpod/system.go b/pkg/api/handlers/libpod/system.go
index f575546c9..52d3b91ab 100644
--- a/pkg/api/handlers/libpod/system.go
+++ b/pkg/api/handlers/libpod/system.go
@@ -61,7 +61,7 @@ func SystemPrune(w http.ResponseWriter, r *http.Request) {
systemPruneReport.ImagePruneReport = &report
if query.Volumes {
- volumePruneReport, err := pruneVolumesHelper(w, r)
+ volumePruneReport, err := pruneVolumesHelper(r)
if err != nil {
utils.InternalServerError(w, err)
return