fix: handle 201 status for heartbeat

This commit is contained in:
Stavros
2025-09-22 19:56:59 +03:00
parent 5dd8526833
commit c307f7eb2e

View File

@@ -338,8 +338,8 @@ func (app *BootstrapApp) heartbeat() {
res.Body.Close() res.Body.Close()
if res.StatusCode != 200 { if res.StatusCode != 200 && res.StatusCode != 201 {
log.Debug().Str("status", res.Status).Msg("Heartbeat returned non-200 status") log.Debug().Str("status", res.Status).Msg("Heartbeat returned non-200/201 status")
} }
} }
} }