summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-04-08 17:15:22 -0400
committerGitHub <noreply@github.com>2021-04-08 17:15:22 -0400
commit002180f02af69c602a80fc1fc824d171cdccd067 (patch)
tree4b973ff8583193496521a65c12a6153acdf2d046 /pkg
parent3a03c2ec71799727ea062faab0cc18050ec8c85e (diff)
parent6cc0dc44ecfa6fe328772a3ad946f759ee6d6491 (diff)
downloadpodman-002180f02af69c602a80fc1fc824d171cdccd067.tar.gz
podman-002180f02af69c602a80fc1fc824d171cdccd067.tar.bz2
podman-002180f02af69c602a80fc1fc824d171cdccd067.zip
Merge pull request #9971 from jwhonce/wip/df
Add missing return
Diffstat (limited to 'pkg')
-rw-r--r--pkg/api/handlers/libpod/system.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/api/handlers/libpod/system.go b/pkg/api/handlers/libpod/system.go
index 02457eb8f..2b4cef1bb 100644
--- a/pkg/api/handlers/libpod/system.go
+++ b/pkg/api/handlers/libpod/system.go
@@ -72,6 +72,7 @@ func DiskUsage(w http.ResponseWriter, r *http.Request) {
response, err := ic.SystemDf(r.Context(), options)
if err != nil {
utils.InternalServerError(w, err)
+ return
}
utils.WriteResponse(w, http.StatusOK, response)
}