Explorar o código

Merge pull request #2491 from endocode/iaguis/fix-test

rafttest: fix build error
Xiang Li %!s(int64=10) %!d(string=hai) anos
pai
achega
ab20a5e12d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      raft/rafttest/node.go

+ 1 - 1
raft/rafttest/node.go

@@ -59,7 +59,7 @@ func (n *node) start() {
 				n.Step(context.TODO(), m)
 			case <-n.stopc:
 				n.Stop()
-				raftLogger.Infof("raft.%d: stop", n.id)
+				log.Printf("raft.%d: stop", n.id)
 				n.Node = nil
 				close(n.stopc)
 				return