Skip to content

Commit

Permalink
dont omit nodebalancers on create firewall
Browse files Browse the repository at this point in the history
  • Loading branch information
0xch4z committed May 6, 2020
1 parent 8df3cc5 commit 0455a40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firewalls.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type Firewall struct {
// DevicesCreationOptions fields are used when adding devices during the Firewall creation process.
type DevicesCreationOptions struct {
Linodes []int `json:"linodes,omitempty"`
NodeBalancers []int `json:"-"`
NodeBalancers []int `json:"nodebalancers,omitempty"`
}

// FirewallCreateOptions fields are those accepted by CreateFirewall
Expand Down

0 comments on commit 0455a40

Please sign in to comment.