Skip to content

Commit d5f54a6

Browse files
authored
DRIVERS-3032 Fix handling of SSL env var (#583)
1 parent 580dc7d commit d5f54a6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.evergreen/orchestration/drivers_orchestration.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ def get_options():
109109
if env_var == "AUTH":
110110
opts.auth = os.environ.get("AUTH") == "auth"
111111
elif env_var == "SSL":
112-
opts.ssl = os.environ.get("SSL", "nossl") != "nossl"
112+
ssl_opt = os.environ.get("SSL", "")
113+
opts.ssl = ssl_opt and ssl_opt.lower() != "nossl"
113114
elif isinstance(getattr(opts, key), bool):
114115
if os.environ[env_var]:
115116
setattr(opts, key, True)

0 commit comments

Comments
 (0)