diff --git a/metrics-operator/controllers/common/providers/prometheus/common_test.go b/metrics-operator/controllers/common/providers/prometheus/common_test.go index e92b23cc80f..643db17ce79 100644 --- a/metrics-operator/controllers/common/providers/prometheus/common_test.go +++ b/metrics-operator/controllers/common/providers/prometheus/common_test.go @@ -197,7 +197,7 @@ func Test_GetRoundtripper(t *testing.T) { got, err := RoundTripperRetriever{}.GetRoundTripper(context.TODO(), tt.provider, tt.k8sClient) t.Log(err) if (err != nil) != tt.wantErr { - t.Errorf("getRoundtripper() error = %v, wantErr %v", err, tt.wantErr) + t.Errorf("getRoundtripper() error. = %v, wantErr %v", err, tt.wantErr) return } if tt.errorStr != "" && !strings.Contains(err.Error(), tt.errorStr) {