From f0549aab2e8310fc2f69940343e94297eb52efde Mon Sep 17 00:00:00 2001 From: Mauricio Araujo Date: Mon, 6 May 2024 11:46:17 -0400 Subject: [PATCH] Use http.StatusOK --- internal/billing/metronome.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/billing/metronome.go b/internal/billing/metronome.go index 178002f609c..27bc595f4f1 100644 --- a/internal/billing/metronome.go +++ b/internal/billing/metronome.go @@ -394,7 +394,7 @@ func (m MetronomeClient) IngestEvents(ctx context.Context, events []types.Billin } // Any other status code can be safely retried - if statusCode == 200 { + if statusCode == http.StatusOK { break } currentAttempts++