From 07b59471589b34ac93aa3183281f0fed5e3e54fa Mon Sep 17 00:00:00 2001 From: Philipp Trulson Date: Thu, 9 May 2024 21:15:50 +0200 Subject: [PATCH] Fix misleading launch event log message (#996) --- pkg/monitor/sqsevent/asg-lifecycle-event.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/monitor/sqsevent/asg-lifecycle-event.go b/pkg/monitor/sqsevent/asg-lifecycle-event.go index c1262519..a532f6e9 100644 --- a/pkg/monitor/sqsevent/asg-lifecycle-event.go +++ b/pkg/monitor/sqsevent/asg-lifecycle-event.go @@ -163,7 +163,7 @@ func (m SQSMonitor) createAsgInstanceLaunchEvent(event *EventBridgeEvent, messag IsManaged: nodeInfo.IsManaged, InstanceID: lifecycleDetail.EC2InstanceID, ProviderID: nodeInfo.ProviderID, - Description: fmt.Sprintf("ASG Lifecycle Launch event received. Instance will be interrupted at %s \n", event.getTime()), + Description: fmt.Sprintf("ASG Lifecycle Launch event received. Instance was started at %s \n", event.getTime()), } interruptionEvent.PostDrainTask = func(interruptionEvent monitor.InterruptionEvent, _ node.Node) error {