Skip to content

Commit

Permalink
cli: fix cluster raft failed when the first node in list fails radond…
Browse files Browse the repository at this point in the history
  • Loading branch information
dbkernel committed Aug 4, 2019
1 parent 4092751 commit cb07def
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/cmd/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ func clusterRaftCommandFn(cmd *cobra.Command, args []string) {
ErrorOK(fmt.Errorf("too.many.args"))
}

var stats *model.RaftStats
var stats *model.RaftStats = &model.RaftStats{}
var rows [][]string
conf, err := GetConfig()
ErrorOK(err)
Expand Down

0 comments on commit cb07def

Please sign in to comment.