-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor ServerHealthCheckerCallback::ExtraInfo
Summary: ExtraInfo was a vector of pairs, refactor it to inherit from a vector of pairs (to not break existing use cases), and add new use cases as struct members. The struct members can be empty just fine, and we can then factor out parsing each struct member. Right now the code depends on some hardcoded strings never changing. Also did some minor code cleanup Reviewed By: jerryliu55 Differential Revision: D69268041 fbshipit-source-id: 4c24907e63d6bd424b4b9a650b4cef4a3f4bd6fa
- Loading branch information
1 parent
a289876
commit 232aa9c
Showing
2 changed files
with
33 additions
and
1 deletion.
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