瀏覽代碼

fix set should register set rather than create

Xiang Li 12 年之前
父節點
當前提交
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