From 0a7aef153605d5ab01ada05ddab13c93198017b7 Mon Sep 17 00:00:00 2001 From: Luke Date: Mon, 13 May 2024 13:31:41 +0900 Subject: [PATCH] fix lint --- pkg/controllers/provisioning/scheduling/events.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controllers/provisioning/scheduling/events.go b/pkg/controllers/provisioning/scheduling/events.go index e4f38c75c7..d264b7a5e2 100644 --- a/pkg/controllers/provisioning/scheduling/events.go +++ b/pkg/controllers/provisioning/scheduling/events.go @@ -65,7 +65,7 @@ func PodHandledEvent(pod *v1.Pod) events.Event { InvolvedObject: pod, Type: v1.EventTypeNormal, Reason: "HandledByKarpenter", - Message: fmt.Sprintf("Pod is handled by karpenter"), + Message: "Pod is handled by karpenter", DedupeValues: []string{string(pod.UID)}, DedupeTimeout: 5 * time.Minute, }