From 56988bc04d3f9e162cf15a813d3916092eb7a806 Mon Sep 17 00:00:00 2001 From: pauhull <22707808+pauhull@users.noreply.github.com> Date: Tue, 5 Mar 2024 15:03:47 +0100 Subject: [PATCH] fix: firewall destination IPs are omitted in schema --- hcloud/schema/firewall.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hcloud/schema/firewall.go b/hcloud/schema/firewall.go index 371e648f1..db0463227 100644 --- a/hcloud/schema/firewall.go +++ b/hcloud/schema/firewall.go @@ -16,7 +16,7 @@ type Firewall struct { type FirewallRule struct { Direction string `json:"direction"` SourceIPs []string `json:"source_ips,omitempty"` - DestinationIPs []string `json:"destination_ips,omitempty"` + DestinationIPs []string `json:"destination_ips"` Protocol string `json:"protocol"` Port *string `json:"port,omitempty"` Description *string `json:"description,omitempty"`