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 f93bb65913
commit 80b1dbcc7d
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"`
// SamenessGroup is the name of the sameness group, if applicable.
SamenessGroup string `json:",omitempty"`
SamenessGroup string `json:",omitempty" alias:"sameness_group"`
}
type IntentionJWTRequirement struct {

View File

@ -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 {
@ -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 {