Преглед изворни кода

fix set should register set rather than create

Xiang Li пре 13 година
родитељ
комит
278a089908
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      store/set_command.go

+ 1 - 1
store/set_command.go

@@ -7,7 +7,7 @@ import (
 )
 
 func init() {
-	raft.RegisterCommand(&CreateCommand{})
+	raft.RegisterCommand(&SetCommand{})
 }
 
 // Create command