Parcourir la source

fix set should register set rather than create

Xiang Li il y a 12 ans
Parent
commit
278a089908
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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