diff --git a/agent/structs/config_entry_intentions.go b/agent/structs/config_entry_intentions.go index 4e334065d..bc4d36863 100644 --- a/agent/structs/config_entry_intentions.go +++ b/agent/structs/config_entry_intentions.go @@ -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 { diff --git a/api/config_entry_discoverychain.go b/api/config_entry_discoverychain.go index 13500d0c4..3696f7be5 100644 --- a/api/config_entry_discoverychain.go +++ b/api/config_entry_discoverychain.go @@ -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 {