mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00
Add missing early returns in compat API
[NO TESTS NEEDED] Signed-off-by: Riyad Preukschas <riyad@informatik.uni-bremen.de>
This commit is contained in:
@ -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))
|
||||
|
Reference in New Issue
Block a user