diff options
author | jannaerin <golden.janna@gmail.com> | 2023-02-10 17:44:01 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-02-11 00:22:04 +0000 |
commit | 6cb8d854a72cd36a93b7c10f82866275efb19434 (patch) | |
tree | 34da2ecc6fcb46ec9af0d50add15ed1b14d38341 /src/mongo/db/repl/hello_auth.cpp | |
parent | a69b0dfd32483e7dd092dbefe6d8034f28779aad (diff) | |
download | mongo-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.cpp | 2 |
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 |