summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/resharding
diff options
context:
space:
mode:
authorWill Buerger <will.buerger@mongodb.com>2023-04-04 16:59:04 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-04-04 21:32:50 +0000
commitd79d53bdb2e9ecc13b72b8ab77124f9e21b1514f (patch)
tree960591171f63e132dfd712530bb05d6a91bbb1f1 /src/mongo/db/s/resharding
parent6989337f513dcbe867638dc1a32e71f71a31c758 (diff)
downloadmongo-d79d53bdb2e9ecc13b72b8ab77124f9e21b1514f.tar.gz
SERVER-75343: Fix and centralize identifier redaction in SerializationOptions
Diffstat (limited to 'src/mongo/db/s/resharding')
-rw-r--r--src/mongo/db/s/resharding/document_source_resharding_ownership_match.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/resharding/document_source_resharding_ownership_match.cpp b/src/mongo/db/s/resharding/document_source_resharding_ownership_match.cpp
index e9c0a78a282..dd4a900f812 100644
--- a/src/mongo/db/s/resharding/document_source_resharding_ownership_match.cpp
+++ b/src/mongo/db/s/resharding/document_source_resharding_ownership_match.cpp
@@ -93,7 +93,7 @@ StageConstraints DocumentSourceReshardingOwnershipMatch::constraints(
}
Value DocumentSourceReshardingOwnershipMatch::serialize(SerializationOptions opts) const {
- if (opts.redactFieldNames || opts.replacementForLiteralArgs) {
+ if (opts.redactIdentifiers || opts.replacementForLiteralArgs) {
MONGO_UNIMPLEMENTED_TASSERT(7484302);
}