Merge pull request #18538 from roidelapluie/roidelapluie/fixreturn

web/api: return after respondError in serveWALReplayStatus
This commit is contained in:
Julien 2026-04-22 12:27:26 +02:00 committed by GitHub
commit 89f5f51f46
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1968,6 +1968,7 @@ func (api *API) serveWALReplayStatus(w http.ResponseWriter, r *http.Request) {
status, err := api.db.WALReplayStatus()
if err != nil {
api.respondError(w, &apiError{errorInternal, err}, nil)
return
}
api.respond(w, r, walReplayStatus{
Min: status.Min,