mirror of https://github.com/status-im/consul.git
fixed aliases for sameness group (sameness_group) (#17161)
This commit is contained in:
parent
f93bb65913
commit
80b1dbcc7d
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue