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

This commit is contained in:
Ronald 2024-01-30 16:08:36 -05:00 committed by GitHub
parent 3c5cb04b0f
commit 783f33db3b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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,
})
}