Skip to content

Commit

Permalink
Fix auto_scaling_group asg failed multi line warn log
Browse files Browse the repository at this point in the history
  • Loading branch information
krrrr38 committed Jan 16, 2025
1 parent 0ddb3d3 commit 586e2a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ func (m *asgCache) isNodeGroupAvailable(group *autoscaling.Group) (bool, error)
if activity.StartTime.Before(lut) {
break
} else if *activity.StatusCode == "Failed" {
klog.Warningf("ASG %s scaling failed with %s", asgRef.Name, *activity)
klog.Warningf("ASG %s scaling failed with %s", asgRef.Name, *activity.StatusMessage)
return false, nil
}
} else {
Expand Down

0 comments on commit 586e2a4

Please sign in to comment.