mirror of https://github.com/status-im/consul.git
[NET-7074] Exported Services typo fix (#20402)
This commit is contained in:
parent
3c5cb04b0f
commit
783f33db3b
|
@ -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…
Reference in New Issue