Skip to content

Commit cd5a180

Browse files
omitempty -> omitzero
1 parent 6e31f1e commit cd5a180

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

network_reserved_ips.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ type ReservedIPAssignedEntity struct {
1717
// NOTE: Reserved IP feature may not currently be available to all users.
1818
type ReserveIPOptions struct {
1919
Region string `json:"region"`
20-
Tags []string `json:"tags,omitempty"`
20+
Tags []string `json:"tags,omitzero"`
2121
}
2222

2323
// UpdateReservedIPOptions represents the options for updating a reserved IP address

0 commit comments

Comments
 (0)