diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2018-12-18 14:55:42 -0500 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2018-12-18 14:55:54 -0500 |
commit | 1bfd3a39805a297b0942776dbe8fe25fe9c28834 (patch) | |
tree | bfd2f34ac2367db130588d4a935d8e8b9cf26f02 /src/mongo/db/free_mon | |
parent | 687969575ce7876ffcbcccd8b4453463719060c6 (diff) | |
download | mongo-1bfd3a39805a297b0942776dbe8fe25fe9c28834.tar.gz |
SERVER-38484 Convert free_mon_mongod.cpp set parameters to IDL
Diffstat (limited to 'src/mongo/db/free_mon')
-rw-r--r-- | src/mongo/db/free_mon/free_mon_mongod.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/free_mon/free_mon_mongod.cpp b/src/mongo/db/free_mon/free_mon_mongod.cpp index 3ff516fea7a..0089a611e7c 100644 --- a/src/mongo/db/free_mon/free_mon_mongod.cpp +++ b/src/mongo/db/free_mon/free_mon_mongod.cpp @@ -281,9 +281,9 @@ private: Status onValidateFreeMonEndpointURL(StringData str) { // Check for http, not https here because testEnabled may not be set yet - if (!str.startsWith("https"_sd) != 0) { + if (!str.startsWith("http"_sd) != 0) { return Status(ErrorCodes::BadValue, - "cloudFreeMonitoringEndpointURL only supports https:// URLs"); + "cloudFreeMonitoringEndpointURL only supports http:// URLs"); } return Status::OK(); |