Browse Source

fix set should register set rather than create

Xiang Li 12 năm trước cách đây
mục cha
commit
278a089908
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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