Skip to content

Commit

Permalink
Merge pull request #1413 from guodongxiaren/fix_doc
Browse files Browse the repository at this point in the history
Fix the method name of MyService in docs/(cn|en)/status.md
  • Loading branch information
zyearn authored May 24, 2021
2 parents ebb8a6e + 387e91e commit 2bd98fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/cn/status.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
class MyService : public XXXService, public brpc::Describable {
public:
...
void DescribeStatus(std::ostream& os, const brpc::DescribeOptions& options) const {
void Describe(std::ostream& os, const brpc::DescribeOptions& options) const {
os << "my_status: blahblah";
}
};
Expand Down
2 changes: 1 addition & 1 deletion docs/en/status.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Users may customize descriptions on /status by letting the service implement [br
class MyService : public XXXService, public brpc::Describable {
public:
...
void DescribeStatus(std::ostream& os, const brpc::DescribeOptions& options) const {
void Describe(std::ostream& os, const brpc::DescribeOptions& options) const {
os << "my_status: blahblah";
}
};
Expand Down

0 comments on commit 2bd98fc

Please sign in to comment.