fixed aliases for sameness group (sameness_group) (#17161)
This commit is contained in:
parent
93a1b3bf61
commit
f24e5ed1d6
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue