Skip to content

Commit 5bcd9a1

Browse files
Philip Reichenbergerpaperspace-philip
authored andcommitted
Make current in asg to pointer to detect when no value is provided
1 parent 9a56e9b commit 5bcd9a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoscaling_group.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ type AutoscalingGroupUpdateAttributeParams struct {
5252
Name string `json:"name,omitempty"`
5353
Min int `json:"min,omitempty"`
5454
Max int `json:"max,omitempty"`
55-
Current int `json:"current,omitempty"`
55+
Current *int `json:"current,omitempty"`
5656
MachineType string `json:"machineType,omitempty"`
5757
TemplateID string `json:"templateId,omitempty"`
5858
ScriptID string `json:"startupScriptId,omitempty"`

0 commit comments

Comments
 (0)