Skip to content

Commit

Permalink
Fix misleading launch event log message (#996)
Browse files Browse the repository at this point in the history
  • Loading branch information
der-eismann authored May 9, 2024
1 parent 87b8ffe commit 07b5947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/monitor/sqsevent/asg-lifecycle-event.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 07b5947

Please sign in to comment.