Skip to content

Commit

Permalink
fixed aliases for sameness group (sameness_group) (#17161)
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkermichael authored Apr 26, 2023
1 parent f93bb65 commit 80b1dbc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion agent/structs/config_entry_intentions.go
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ type SourceIntention struct {
Peer string `json:",omitempty"`

// SamenessGroup is the name of the sameness group, if applicable.
SamenessGroup string `json:",omitempty"`
SamenessGroup string `json:",omitempty" alias:"sameness_group"`
}

type IntentionJWTRequirement struct {
Expand Down
4 changes: 2 additions & 2 deletions api/config_entry_discoverychain.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ type ServiceResolverRedirect struct {
Partition string `json:",omitempty"`
Datacenter string `json:",omitempty"`
Peer string `json:",omitempty"`
SamenessGroup string `json:",omitempty"`
SamenessGroup string `json:",omitempty" alias:"sameness_group"`
}

type ServiceResolverFailover struct {
Expand All @@ -252,7 +252,7 @@ type ServiceResolverFailover struct {
Datacenters []string `json:",omitempty"`
Targets []ServiceResolverFailoverTarget `json:",omitempty"`
Policy *ServiceResolverFailoverPolicy `json:",omitempty"`
SamenessGroup string `json:",omitempty"`
SamenessGroup string `json:",omitempty" alias:"sameness_group"`
}

type ServiceResolverFailoverTarget struct {
Expand Down

0 comments on commit 80b1dbc

Please sign in to comment.