mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-09 10:25:42 +00:00
In the SystemCheck HTTP handler, when parsing the
unreferenced_layer_max_age query parameter fails, the error response is
sent but execution continues to `unreferencedLayerMaximumAge = &duration`
where `duration` is the zero value. This causes the system check to run
with a zero duration instead of returning the 400 error to the client.
Add the missing `return` after the error response.
Fixes #28350
Signed-off-by: crawfordxx <crawfordxx@users.noreply.github.com>
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| handlers | ||
| server | ||
| types | ||
| Makefile | ||
| tags.yaml | ||