summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/compat/system.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/api/handlers/compat/system.go')
-rw-r--r--pkg/api/handlers/compat/system.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/api/handlers/compat/system.go b/pkg/api/handlers/compat/system.go
index e21ae160a..66b4236f9 100644
--- a/pkg/api/handlers/compat/system.go
+++ b/pkg/api/handlers/compat/system.go
@@ -19,6 +19,7 @@ func GetDiskUsage(w http.ResponseWriter, r *http.Request) {
df, err := ic.SystemDf(r.Context(), options)
if err != nil {
utils.InternalServerError(w, err)
+ return
}
imgs := make([]*docker.ImageSummary, len(df.Images))