We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90b6b24 commit 1ec9ce9Copy full SHA for 1ec9ce9
.github/workflows/mongodb_settings.py
@@ -5,9 +5,8 @@
5
PARSED_URI = parse_uri(os.getenv("MONGODB_URI")) if os.getenv("MONGODB_URI") else {}
6
7
# Temporary fix for https://github.com/mongodb-labs/mongo-orchestration/issues/268
8
-if PARSED_URI["USER"] and PARSED_URI["PASSWORD"]:
9
- PARSED_URI["OPTIONS"]["tls"] = True
10
- PARSED_URI["OPTIONS"]["tlsAllowInvalidCertificates"] = True
+if PARSED_URI.get("USER") and PARSED_URI.get("PASSWORD"):
+ PARSED_URI["OPTIONS"].update({"tls": True, "tlsAllowInvalidCertificates": True})
11
12
DATABASES = {
13
"default": {
0 commit comments