summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/database_cloner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/database_cloner.cpp')
-rw-r--r--src/mongo/db/repl/database_cloner.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/repl/database_cloner.cpp b/src/mongo/db/repl/database_cloner.cpp
index 88b3aead08e..4c2bb926dc0 100644
--- a/src/mongo/db/repl/database_cloner.cpp
+++ b/src/mongo/db/repl/database_cloner.cpp
@@ -112,8 +112,8 @@ BaseCloner::AfterStageBehavior DatabaseCloner::listCollectionsStage() {
// Sanitize storage engine options to remove options which might not apply to this node. See
// SERVER-68122.
auto sanitizedStorageOptions =
- uassertStatusOK(storageEngine->getSanitizedStorageOptionsForSecondaryReplication(
- result.getOptions().storageEngine));
+ storageEngine->getSanitizedStorageOptionsForSecondaryReplication(
+ result.getOptions().storageEngine);
result.getOptions().storageEngine = sanitizedStorageOptions;
// While UUID is a member of CollectionOptions, listCollections does not return the