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

pull/20408/head
Ronald 10 months ago committed by GitHub
parent 3c5cb04b0f
commit 783f33db3b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save