summaryrefslogtreecommitdiff
path: root/src/mongo/s/cluster_identity_loader_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/cluster_identity_loader_test.cpp')
-rw-r--r--src/mongo/s/cluster_identity_loader_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/cluster_identity_loader_test.cpp b/src/mongo/s/cluster_identity_loader_test.cpp
index 24b77c5d8eb..213fec88d7e 100644
--- a/src/mongo/s/cluster_identity_loader_test.cpp
+++ b/src/mongo/s/cluster_identity_loader_test.cpp
@@ -83,7 +83,7 @@ public:
auto query = assertGet(QueryRequest::makeFromFindCommand(nss, request.cmdObj, false));
- ASSERT_EQ(query->ns(), "config.version");
+ ASSERT_EQ(query->nss().ns(), "config.version");
ASSERT_BSONOBJ_EQ(query->getFilter(), BSONObj());
ASSERT_FALSE(query->getLimit().is_initialized());