소스 검색

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() {
 func init() {
-	raft.RegisterCommand(&CreateCommand{})
+	raft.RegisterCommand(&SetCommand{})
 }
 }
 
 
 // Create command
 // Create command