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 600b9ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cli/cmd/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,8 @@ func clusterRaftCommandFn(cmd *cobra.Command, args []string) {
if rsp, err := callx.GetRaftStatusRPC(node); err == nil {
raft = rsp.State
stats = rsp.Stats
} else {
stats = &model.RaftStats{}
}
}

Expand Down

0 comments on commit 600b9ec

Please sign in to comment.