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 {