Skip to content

Commit 586e2a4

Browse files
committed
Fix auto_scaling_group asg failed multi line warn log
1 parent 0ddb3d3 commit 586e2a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cluster-autoscaler/cloudprovider/aws/auto_scaling_groups.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ func (m *asgCache) isNodeGroupAvailable(group *autoscaling.Group) (bool, error)
548548
if activity.StartTime.Before(lut) {
549549
break
550550
} else if *activity.StatusCode == "Failed" {
551-
klog.Warningf("ASG %s scaling failed with %s", asgRef.Name, *activity)
551+
klog.Warningf("ASG %s scaling failed with %s", asgRef.Name, *activity.StatusMessage)
552552
return false, nil
553553
}
554554
} else {

0 commit comments

Comments
 (0)