summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/hello_auth.cpp
diff options
context:
space:
mode:
authorjannaerin <golden.janna@gmail.com>2023-02-10 17:44:01 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-02-11 00:22:04 +0000
commit6cb8d854a72cd36a93b7c10f82866275efb19434 (patch)
tree34da2ecc6fcb46ec9af0d50add15ed1b14d38341 /src/mongo/db/repl/hello_auth.cpp
parenta69b0dfd32483e7dd092dbefe6d8034f28779aad (diff)
downloadmongo-6cb8d854a72cd36a93b7c10f82866275efb19434.tar.gz
SERVER-73880 Make DatabaseName constants
Diffstat (limited to 'src/mongo/db/repl/hello_auth.cpp')
-rw-r--r--src/mongo/db/repl/hello_auth.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/hello_auth.cpp b/src/mongo/db/repl/hello_auth.cpp
index ef3efef33e5..9ea72c57618 100644
--- a/src/mongo/db/repl/hello_auth.cpp
+++ b/src/mongo/db/repl/hello_auth.cpp
@@ -64,7 +64,7 @@ void handleHelloAuth(OperationContext* opCtx,
uassert(6656100,
"Cannot specify speculativeAuthenticate with a tenantId",
- !dbName.tenantId() || dbName.tenantId() == TenantId::kSystemTenantId);
+ !dbName.tenantId() || dbName.tenantId() == TenantId::systemTenantId());
uassert(ErrorCodes::BadValue,
str::stream() << "hello." << auth::kSpeculativeAuthenticate