summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/resharding/resharding_agg_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/resharding/resharding_agg_test.cpp')
-rw-r--r--src/mongo/db/s/resharding/resharding_agg_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/resharding/resharding_agg_test.cpp b/src/mongo/db/s/resharding/resharding_agg_test.cpp
index 5d49e96409d..1c507297bd1 100644
--- a/src/mongo/db/s/resharding/resharding_agg_test.cpp
+++ b/src/mongo/db/s/resharding/resharding_agg_test.cpp
@@ -154,7 +154,7 @@ public:
const Document& documentKey,
boost::optional<BSONObj> readConcern) {
DBDirectClient client(expCtx->opCtx);
- auto result = client.findOne(nss.ns(), documentKey.toBson());
+ auto result = client.findOne(nss, documentKey.toBson());
if (result.isEmpty()) {
return boost::none;
}