From c307f7eb2e787197c4b2cc2307f88a767f0fbccb Mon Sep 17 00:00:00 2001 From: Stavros Date: Mon, 22 Sep 2025 19:56:59 +0300 Subject: [PATCH] fix: handle 201 status for heartbeat --- internal/bootstrap/app_bootstrap.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/bootstrap/app_bootstrap.go b/internal/bootstrap/app_bootstrap.go index 81a55ad..dc31ac2 100644 --- a/internal/bootstrap/app_bootstrap.go +++ b/internal/bootstrap/app_bootstrap.go @@ -338,8 +338,8 @@ func (app *BootstrapApp) heartbeat() { res.Body.Close() - if res.StatusCode != 200 { - log.Debug().Str("status", res.Status).Msg("Heartbeat returned non-200 status") + if res.StatusCode != 200 && res.StatusCode != 201 { + log.Debug().Str("status", res.Status).Msg("Heartbeat returned non-200/201 status") } } }