Browse Source

fix set should register set rather than create

Xiang Li 12 years ago
parent
commit
278a089908
1 changed files with 1 additions and 1 deletions
  1. 1 1
      store/set_command.go

+ 1 - 1
store/set_command.go

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