Skip to content

Commit ec8d637

Browse files
fix typo in json tag for ServiceNetworkConfig.Priority
Signed-off-by: Jeremiah Millay <[email protected]>
1 parent 5548bf6 commit ec8d637

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ type PlacementPreferences struct {
617617

618618
// ServiceNetworkConfig is the network configuration for a service
619619
type ServiceNetworkConfig struct {
620-
Priority int `yaml:",omitempty" json:"priotirt,omitempty"`
620+
Priority int `yaml:",omitempty" json:"priority,omitempty"`
621621
Aliases []string `yaml:",omitempty" json:"aliases,omitempty"`
622622
Ipv4Address string `mapstructure:"ipv4_address" yaml:"ipv4_address,omitempty" json:"ipv4_address,omitempty"`
623623
Ipv6Address string `mapstructure:"ipv6_address" yaml:"ipv6_address,omitempty" json:"ipv6_address,omitempty"`

0 commit comments

Comments
 (0)