diff options
author | Gabriel Marks <gabriel.marks@mongodb.com> | 2020-06-26 15:42:20 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-07-14 18:38:47 +0000 |
commit | f1d1e28bb59cfdda58c9bf8aaf50561eca3aea4d (patch) | |
tree | cce0ce1d12d507149f7516199ad291f6f3778b7a /src/mongo/db/commands/server_status_servers.cpp | |
parent | 526878fe931d0042000a94377501c89b403c43be (diff) | |
download | mongo-f1d1e28bb59cfdda58c9bf8aaf50561eca3aea4d.tar.gz |
SERVER-49114 Replace getSSLManager() with SSLManagerCoordinator
Diffstat (limited to 'src/mongo/db/commands/server_status_servers.cpp')
-rw-r--r-- | src/mongo/db/commands/server_status_servers.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mongo/db/commands/server_status_servers.cpp b/src/mongo/db/commands/server_status_servers.cpp index c208ae96e36..85a57202370 100644 --- a/src/mongo/db/commands/server_status_servers.cpp +++ b/src/mongo/db/commands/server_status_servers.cpp @@ -110,8 +110,11 @@ public: result.append("authentication", auth.obj()); #ifdef MONGO_CONFIG_SSL - if (getSSLManager()) { - getSSLManager()->getSSLConfiguration().getServerStatusBSON(&result); + if (SSLManagerCoordinator::get()) { + SSLManagerCoordinator::get() + ->getSSLManager() + ->getSSLConfiguration() + .getServerStatusBSON(&result); } #endif |