forked from tikv/pd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
api: add role_name and is_learner to the returned peer info (tikv#3643)…
… (tikv#3743) * api: add role_name and is_learner to the returned peer info Signed-off-by: HunDunDM <hundundm@gmail.com> * add comment Signed-off-by: HunDunDM <hundundm@gmail.com> * add unit test Signed-off-by: HunDunDM <hundundm@gmail.com> * fix test Signed-off-by: HunDunDM <hundundm@gmail.com> * fix lint Signed-off-by: HunDunDM <hundundm@gmail.com> * fix test Signed-off-by: HunDunDM <hundundm@gmail.com> * rename struct Signed-off-by: HunDunDM <hundundm@gmail.com> * add comment Signed-off-by: HunDunDM <hundundm@gmail.com> * adjust test Signed-off-by: HunDunDM <hundundm@gmail.com> * delete unnecessary pointer Signed-off-by: HunDunDM <hundundm@gmail.com> * fix enum name Signed-off-by: HunDunDM <hundundm@gmail.com> * fix test Signed-off-by: HunDunDM <hundundm@gmail.com> Co-authored-by: HunDunDM <hundundm@gmail.com>
- Loading branch information
1 parent
09e8392
commit 9fff28d
Showing
4 changed files
with
184 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.