momo-jun commented on code in PR #16267:
URL: https://github.com/apache/pulsar/pull/16267#discussion_r910530659
##########
site2/docs/admin-api-brokers.md:
##########
@@ -128,7 +128,7 @@ BrokerInfo(serviceUrl=broker1.use.org.com:8080)
</TabItem>
<TabItem value="REST API">
-{@inject:
endpoint|GET|/admin/v2/brokers/leaderBroker?version=@pulsar:version_number@}
+{@inject:
endpoint|GET|/admin/v2/brokers/leaderBroker|operation/getLeaderBroker?version=@pulsar:version_number@}
Review Comment:
1. Yes. The logic has been verified. Theoretically, they can go to the
correct place but this cannot be directly verified in the local build because
what we use for version numbers is a variable.
2. I've corrected all the occurrences that I've searched out in the master
branch.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]