Skip to content

Commit

Permalink
Merge pull request #1580 from dnwe/fix-use-v1-metadatarequest-on-0.10…
Browse files Browse the repository at this point in the history
….0.0

fix: MetadataRequest version in DescribeCluster
  • Loading branch information
mimaison authored Jan 16, 2020
2 parents c032fe4 + 0b7745a commit 7a7d874
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ func (ca *clusterAdmin) DescribeCluster() (brokers []*Broker, controllerID int32
Topics: []string{},
}

if ca.conf.Version.IsAtLeast(V0_11_0_0) {
if ca.conf.Version.IsAtLeast(V0_10_0_0) {
request.Version = 1
}

Expand Down

0 comments on commit 7a7d874

Please sign in to comment.