summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/server_status_servers.cpp
diff options
context:
space:
mode:
authorGabriel Marks <gabriel.marks@mongodb.com>2020-06-26 15:42:20 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-07-14 18:38:47 +0000
commitf1d1e28bb59cfdda58c9bf8aaf50561eca3aea4d (patch)
treecce0ce1d12d507149f7516199ad291f6f3778b7a /src/mongo/db/commands/server_status_servers.cpp
parent526878fe931d0042000a94377501c89b403c43be (diff)
downloadmongo-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.cpp7
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