mirror of
https://github.com/status-im/consul.git
synced 2025-01-22 11:40:06 +00:00
fsm: add missing ID/datacenter to persistNodes
This commit is contained in:
parent
f8e56d5365
commit
6483356329
@ -82,7 +82,9 @@ func (s *snapshot) persistNodes(sink raft.SnapshotSink,
|
||||
for node := nodes.Next(); node != nil; node = nodes.Next() {
|
||||
n := node.(*structs.Node)
|
||||
req := structs.RegisterRequest{
|
||||
ID: n.ID,
|
||||
Node: n.Node,
|
||||
Datacenter: n.Datacenter,
|
||||
Address: n.Address,
|
||||
TaggedAddresses: n.TaggedAddresses,
|
||||
NodeMeta: n.Meta,
|
||||
|
Loading…
x
Reference in New Issue
Block a user