fixed aliases for sameness group (sameness_group) (#17161)

This commit is contained in:
Michael Wilkerson 2023-04-26 14:53:23 -07:00 committed by GitHub
parent 93a1b3bf61
commit f24e5ed1d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -277,7 +277,7 @@ type SourceIntention struct {
Peer string `json:",omitempty"` Peer string `json:",omitempty"`
// SamenessGroup is the name of the sameness group, if applicable. // SamenessGroup is the name of the sameness group, if applicable.
SamenessGroup string `json:",omitempty"` SamenessGroup string `json:",omitempty" alias:"sameness_group"`
} }
type IntentionJWTRequirement struct { type IntentionJWTRequirement struct {

View File

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