Skip to content

Commit f0ba4cc

Browse files
committed
fix(autoscaling-groups): Allow empty list and get params.
1 parent cc98a9f commit f0ba4cc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

autoscaling_group.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ type AutoscalingGroupDeleteParams struct {
3636
type AutoscalingGroupGetParams struct {
3737
RequestParams
3838

39-
IncludeNodes bool `json:"includeNodes"`
39+
IncludeNodes bool `json:"includeNodes,omitempty"`
4040
}
4141

4242
type AutoscalingGroupListParams struct {
4343
RequestParams
4444

45-
Filter map[string]string `json:"filter"`
46-
IncludeNodes bool `json:"includeNodes"`
45+
Filter map[string]string `json:"filter,omitempty"`
46+
IncludeNodes bool `json:"includeNodes,omitempty"`
4747
}
4848

4949
type AutoscalingGroupUpdateAttributeParams struct {

0 commit comments

Comments
 (0)