Skip to content

Commit

Permalink
fix: firewall source and destination IPs are omitted in schema
Browse files Browse the repository at this point in the history
  • Loading branch information
phm07 committed Mar 7, 2024
1 parent 7511685 commit 15a9265
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hcloud/schema/firewall.go
Expand Up @@ -15,8 +15,8 @@ type Firewall struct {
// FirewallRule defines the schema of a Firewall rule.
type FirewallRule struct {
Direction string `json:"direction"`
SourceIPs []string `json:"source_ips,omitempty"`
DestinationIPs []string `json:"destination_ips,omitempty"`
SourceIPs []string `json:"source_ips"`
DestinationIPs []string `json:"destination_ips"`
Protocol string `json:"protocol"`
Port *string `json:"port,omitempty"`
Description *string `json:"description,omitempty"`
Expand Down

0 comments on commit 15a9265

Please sign in to comment.