fsm: add missing ID/datacenter to persistNodes
This commit is contained in:
parent
70a051363f
commit
58ff5e46cb
|
@ -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…
Reference in New Issue