diff options
author | A. Jesse Jiryu Davis <jesse@mongodb.com> | 2020-11-13 13:41:06 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-11-13 19:34:57 +0000 |
commit | b670258ac185ecea0492c742f2f50da9d8ab618f (patch) | |
tree | 820931f0cd560702b2f28ce460cadc796b16deaf /src/mongo/s/commands/cluster_add_shard_cmd.cpp | |
parent | 3251ffe481e2c981e16e9bbf166cb2de7a493e0b (diff) | |
download | mongo-b670258ac185ecea0492c742f2f50da9d8ab618f.tar.gz |
SERVER-52541 Specify dropDatabase in IDL
Diffstat (limited to 'src/mongo/s/commands/cluster_add_shard_cmd.cpp')
-rw-r--r-- | src/mongo/s/commands/cluster_add_shard_cmd.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/s/commands/cluster_add_shard_cmd.cpp b/src/mongo/s/commands/cluster_add_shard_cmd.cpp index c6d943a6740..11cc10beab7 100644 --- a/src/mongo/s/commands/cluster_add_shard_cmd.cpp +++ b/src/mongo/s/commands/cluster_add_shard_cmd.cpp @@ -85,7 +85,8 @@ public: kPrimaryOnlyReadPreference, "admin", CommandHelpers::appendMajorityWriteConcern( - CommandHelpers::appendPassthroughFields(cmdObj, parsedRequest.toCommandForConfig()), + CommandHelpers::appendGenericCommandArgs(cmdObj, + parsedRequest.toCommandForConfig()), opCtx->getWriteConcern()), Shard::RetryPolicy::kIdempotent); |