mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
raft: clean stateMachine
This commit is contained in:
@@ -13,7 +13,7 @@ type Node struct {
|
||||
|
||||
func New(k, addr int, next Interface) *Node {
|
||||
n := &Node{
|
||||
sm: newStateMachine(k, addr, next),
|
||||
sm: newStateMachine(k, addr),
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user