summaryrefslogtreecommitdiff
path: root/src/mongo/db/mongod_options.cpp
diff options
context:
space:
mode:
authorVarun Ravichandran <varun.ravichandran@mongodb.com>2021-04-22 00:22:57 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-04-28 19:49:29 +0000
commit193e8838d915a3609b1cda62301e4601bd48b34d (patch)
treed9041d6f98857f0776b230085ccc33aa352d4699 /src/mongo/db/mongod_options.cpp
parentb46ac14ee3895b8129069c8f1b03e3820ebcea99 (diff)
downloadmongo-193e8838d915a3609b1cda62301e4601bd48b34d.tar.gz
SERVER-55827: Rename security.clusterIpSourceWhitelist to security.clusterIpSourceAllowlist
Diffstat (limited to 'src/mongo/db/mongod_options.cpp')
-rw-r--r--src/mongo/db/mongod_options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/mongod_options.cpp b/src/mongo/db/mongod_options.cpp
index 9238a06f5d4..4d512e3e4f8 100644
--- a/src/mongo/db/mongod_options.cpp
+++ b/src/mongo/db/mongod_options.cpp
@@ -463,10 +463,10 @@ Status storeMongodOptions(const moe::Environment& params) {
mongodGlobalParams.scriptingEnabled = params["security.javascriptEnabled"].as<bool>();
}
- if (params.count("security.clusterIpSourceWhitelist")) {
+ if (params.count("security.clusterIpSourceAllowlist")) {
mongodGlobalParams.whitelistedClusterNetwork = std::vector<std::string>();
for (const std::string& whitelistEntry :
- params["security.clusterIpSourceWhitelist"].as<std::vector<std::string>>()) {
+ params["security.clusterIpSourceAllowlist"].as<std::vector<std::string>>()) {
std::vector<std::string> intermediates;
str::splitStringDelim(whitelistEntry, &intermediates, ',');
std::copy(intermediates.begin(),