diff options
Diffstat (limited to 'src/mongo/s/commands/cluster_shard_collection_cmd.cpp')
-rw-r--r-- | src/mongo/s/commands/cluster_shard_collection_cmd.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/s/commands/cluster_shard_collection_cmd.cpp b/src/mongo/s/commands/cluster_shard_collection_cmd.cpp index 2ec79a764a0..0c9df731b06 100644 --- a/src/mongo/s/commands/cluster_shard_collection_cmd.cpp +++ b/src/mongo/s/commands/cluster_shard_collection_cmd.cpp @@ -101,7 +101,7 @@ public: } std::string parseNs(const std::string& dbname, const BSONObj& cmdObj) const override { - return parseNsFullyQualified(dbname, cmdObj); + return CommandHelpers::parseNsFullyQualified(dbname, cmdObj); } bool run(OperationContext* opCtx, @@ -129,11 +129,11 @@ public: opCtx, ReadPreferenceSetting(ReadPreference::PrimaryOnly), "admin", - Command::appendMajorityWriteConcern( - Command::appendPassthroughFields(cmdObj, configShardCollRequest.toBSON())), + CommandHelpers::appendMajorityWriteConcern( + CommandHelpers::appendPassthroughFields(cmdObj, configShardCollRequest.toBSON())), Shard::RetryPolicy::kIdempotent)); - Command::filterCommandReplyForPassthrough(cmdResponse.response, &result); + CommandHelpers::filterCommandReplyForPassthrough(cmdResponse.response, &result); return true; } |