Browse Source

[NET-7074] Exported Services typo fix (#20402)

pull/20408/head
Ronald 10 months ago committed by GitHub
parent
commit
783f33db3b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      internal/multicluster/internal/controllers/v1compat/controller.go

4
internal/multicluster/internal/controllers/v1compat/controller.go

@ -214,7 +214,7 @@ func (c *exportConsumers) configEntryConsumers() []structs.ServiceConsumer {
sort.Strings(peers)
for _, consumer := range peers {
consumers = append(consumers, structs.ServiceConsumer{
Partition: consumer,
Peer: consumer,
})
}
@ -222,7 +222,7 @@ func (c *exportConsumers) configEntryConsumers() []structs.ServiceConsumer {
sort.Strings(samenessGroups)
for _, consumer := range samenessGroups {
consumers = append(consumers, structs.ServiceConsumer{
Partition: consumer,
SamenessGroup: consumer,
})
}

Loading…
Cancel
Save