From 95ecbf443ef0200bb0434d1b6b4284c1f66064db Mon Sep 17 00:00:00 2001 From: Henrique Spanoudis Matulis Date: Tue, 3 Dec 2024 17:58:16 -0500 Subject: [PATCH] Fix typo Signed-off-by: Henrique Spanoudis Matulis --- pkg/operator/target_status_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/operator/target_status_test.go b/pkg/operator/target_status_test.go index c221744739..c1d3842a24 100644 --- a/pkg/operator/target_status_test.go +++ b/pkg/operator/target_status_test.go @@ -1349,7 +1349,7 @@ func TestUpdateTargetStatus(t *testing.T) { if err != nil && (testCase.expErr == nil || !testCase.expErr(err)) { t.Fatalf("unexpected error updating target status: %s", err) } else if err == nil && (testCase.expErr != nil) { - t.Fatalf("expected error missing when updating target status: %s", err) + t.Fatalf("expected error missing when updating target status") } for _, podMonitoring := range testCase.podMonitorings {