Skip to content

Commit

Permalink
use constant instead of string literal
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiahui-Zhang-20 committed Dec 19, 2023
1 parent 1e27d0f commit cfdebec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enhancers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func TestRunEnhancers(t *testing.T) {
// Add event message
event.Message = "This event is for TestRunPodEnhancer"
// Call pod enhancer to modify scope and event
err = runEnhancers(ctx, nil, "Pod", podObj, scope, event)
err = runEnhancers(ctx, nil, KindPod, podObj, scope, event)
if err != nil {
t.Errorf("runEnhancers returned an error: %v", err)
}
Expand Down

0 comments on commit cfdebec

Please sign in to comment.