mirror of
https://github.com/containers/podman.git
synced 2025-11-30 10:07:33 +08:00
Add missing return after utils.InternalServerError()
Signed-off-by: Erik Sjölund <erik.sjolund@gmail.com>
This commit is contained in:
@@ -547,6 +547,7 @@ func PodStats(w http.ResponseWriter, r *http.Request) {
|
||||
options := entities.PodStatsOptions{All: query.All}
|
||||
if err := entities.ValidatePodStatsOptions(query.NamesOrIDs, &options); err != nil {
|
||||
utils.InternalServerError(w, err)
|
||||
return
|
||||
}
|
||||
|
||||
var flush = func() {}
|
||||
|
||||
Reference in New Issue
Block a user