Skip to content

Commit 9dcebac

Browse files
committed
Fix determined value for MinSize field of ASG
1 parent 2f41cef commit 9dcebac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cloud/services/autoscaling/autoscalinggroup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func (s *Service) SDKToAutoScalingGroup(v *autoscalingtypes.AutoScalingGroup) (*
5050
// TODO(rudoi): this is just terrible
5151
DesiredCapacity: v.DesiredCapacity,
5252
MaxSize: aws.Int32Value(v.MaxSize), //#nosec G115
53-
MinSize: aws.Int32Value(v.MaxSize), //#nosec G115
53+
MinSize: aws.Int32Value(v.MinSize), //#nosec G115
5454
CapacityRebalance: aws.BoolValue(v.CapacityRebalance),
5555
// TODO: determine what additional values go here and what else should be in the struct
5656
}

0 commit comments

Comments
 (0)