diff --git a/pkg/annotations_test.go b/pkg/annotations_test.go index 351202e..80c834f 100644 --- a/pkg/annotations_test.go +++ b/pkg/annotations_test.go @@ -215,7 +215,7 @@ func TestGetCronitorName(t *testing.T) { } parser := NewCronitorConfigParser(&cronJob) - if id := parser.GetCronitorID(); id != tc.expectedName { + if id := parser.GetCronitorName(); id != tc.expectedName { t.Errorf("expected ID %s, got %s", tc.expectedName, id) } })