mirror of
https://github.com/status-im/consul.git
synced 2025-02-18 00:27:04 +00:00
[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)
|
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…
x
Reference in New Issue
Block a user