raft: fix malformed example name
It is reported by latest govet: ``` gopath/src/github.com/coreos/etcd/raft/example_test.go:26: Example_Node has malformed example suffix: Node ```
This commit is contained in:
@ -23,7 +23,7 @@ func sendMessages(msgs []pb.Message) {}
|
|||||||
func saveStateToDisk(st pb.HardState) {}
|
func saveStateToDisk(st pb.HardState) {}
|
||||||
func saveToDisk(ents []pb.Entry) {}
|
func saveToDisk(ents []pb.Entry) {}
|
||||||
|
|
||||||
func Example_Node() {
|
func ExampleNode() {
|
||||||
c := &Config{}
|
c := &Config{}
|
||||||
n := StartNode(c, nil)
|
n := StartNode(c, nil)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user