diff --git a/types/types.go b/types/types.go index 260d14adf..fc5ac956b 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"`