From 0c3894df592b7f2c7771e2ec20f6b03d5c44efa5 Mon Sep 17 00:00:00 2001 From: Bruno Moura Date: Fri, 12 Jan 2024 15:36:11 +0000 Subject: [PATCH] Update core/services/pipeline/internal/eautils/eautils.go Co-authored-by: Jordan Krage --- core/services/pipeline/internal/eautils/eautils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/services/pipeline/internal/eautils/eautils.go b/core/services/pipeline/internal/eautils/eautils.go index 3f5fb09d7df..490a5de1725 100644 --- a/core/services/pipeline/internal/eautils/eautils.go +++ b/core/services/pipeline/internal/eautils/eautils.go @@ -12,7 +12,7 @@ type AdapterStatus struct { ProviderStatusCode *int `json:"providerStatusCode"` } -func BestEffortExtractEAStatus(responseBytes []byte) (int, bool) { +func BestEffortExtractEAStatus(responseBytes []byte) (code int, ok bool) { var status AdapterStatus err := json.Unmarshal(responseBytes, &status) if err != nil {