From ec8d637a9c0f31caee6f30c4024b8d6096ddb160 Mon Sep 17 00:00:00 2001 From: Jeremiah Millay Date: Fri, 22 Jul 2022 19:27:20 -0400 Subject: [PATCH] fix typo in json tag for ServiceNetworkConfig.Priority Signed-off-by: Jeremiah Millay --- types/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/types.go b/types/types.go index 260d14ad..fc5ac956 100644 --- a/types/types.go +++ b/types/types.go @@ -617,7 +617,7 @@ type PlacementPreferences struct { // ServiceNetworkConfig is the network configuration for a service type ServiceNetworkConfig struct { - Priority int `yaml:",omitempty" json:"priotirt,omitempty"` + Priority int `yaml:",omitempty" json:"priority,omitempty"` Aliases []string `yaml:",omitempty" json:"aliases,omitempty"` Ipv4Address string `mapstructure:"ipv4_address" yaml:"ipv4_address,omitempty" json:"ipv4_address,omitempty"` Ipv6Address string `mapstructure:"ipv6_address" yaml:"ipv6_address,omitempty" json:"ipv6_address,omitempty"`