Просмотр исходного кода

fix set should register set rather than create

Xiang Li 12 лет назад
Родитель
Сommit
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