summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_merge_chunks_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/commands/cluster_merge_chunks_cmd.cpp')
-rw-r--r--src/mongo/s/commands/cluster_merge_chunks_cmd.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/s/commands/cluster_merge_chunks_cmd.cpp b/src/mongo/s/commands/cluster_merge_chunks_cmd.cpp
index db51420bf21..463203917df 100644
--- a/src/mongo/s/commands/cluster_merge_chunks_cmd.cpp
+++ b/src/mongo/s/commands/cluster_merge_chunks_cmd.cpp
@@ -73,7 +73,7 @@ public:
}
std::string parseNs(const std::string& dbname, const BSONObj& cmdObj) const override {
- return parseNsFullyQualified(dbname, cmdObj);
+ return CommandHelpers::parseNsFullyQualified(dbname, cmdObj);
}
bool adminOnly() const override {
@@ -167,7 +167,7 @@ public:
const auto shardStatus =
Grid::get(opCtx)->shardRegistry()->getShard(opCtx, firstChunk->getShardId());
if (!shardStatus.isOK()) {
- return appendCommandStatus(
+ return CommandHelpers::appendCommandStatus(
result,
Status(ErrorCodes::ShardNotFound,
str::stream() << "Can't find shard for chunk: " << firstChunk->toString()));
@@ -179,7 +179,7 @@ public:
Grid::get(opCtx)->catalogCache()->onStaleConfigError(std::move(routingInfo));
- filterCommandReplyForPassthrough(remoteResult, &result);
+ CommandHelpers::filterCommandReplyForPassthrough(remoteResult, &result);
return ok;
}