Skip to content

Commit

Permalink
Merge pull request #5528 from vbotbuildovich/backport-5521-v22.1.x-36
Browse files Browse the repository at this point in the history
[v22.1.x] Fix json -> object mapping in cluster health
  • Loading branch information
twmb committed Jul 20, 2022
2 parents 042089c + f05c76e commit 69090b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/go/rpk/pkg/api/admin/api_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type ClusterHealthOverview struct {
ControllerID int `json:"controller_id"`
AllNodes []int `json:"all_nodes"`
NodesDown []int `json:"nodes_down"`
LeaderlessPartitions []string `json:"leaderless_partition"`
LeaderlessPartitions []string `json:"leaderless_partitions"`
}

func (a *AdminAPI) GetHealthOverview() (ClusterHealthOverview, error) {
Expand Down

0 comments on commit 69090b4

Please sign in to comment.