diff options
Diffstat (limited to 'src/mongo/db/commands/conn_pool_stats.cpp')
-rw-r--r-- | src/mongo/db/commands/conn_pool_stats.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands/conn_pool_stats.cpp b/src/mongo/db/commands/conn_pool_stats.cpp index 6eda96aa727..298bbda74d4 100644 --- a/src/mongo/db/commands/conn_pool_stats.cpp +++ b/src/mongo/db/commands/conn_pool_stats.cpp @@ -49,8 +49,8 @@ class PoolStats final : public BasicCommand { public: PoolStats() : BasicCommand("connPoolStats") {} - void help(std::stringstream& help) const override { - help << "stats about connections between servers in a replica set or sharded cluster."; + std::string help() const override { + return "stats about connections between servers in a replica set or sharded cluster."; } bool slaveOk() const override { |