Skip to content

Commit 4ff10ad

Browse files
committed
Rectify comment regarding boto3 default behavior
Signed-off-by: Matthias Büchse <matthias.buechse@alasca.cloud>
1 parent 5cec8fb commit 4ff10ad

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Tests/iaas/scs_0123_mandatory_services/mandatory_services.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ def s3_conn(creds, conn):
3131
cfg = conn.config.config
3232
# Take insecure/verify/cacert parameter from clouds.yaml and pass it to boto3.resource.
3333
# If verify is True in clouds.yaml, fall back to cacert or None. In the latter case,
34-
# the default boto3 behavior is applied (e.g., REQUESTS_CA_BUNDLE can still be used);
35-
# but for that, verify must be `None` instead of boto3's default `True`.
34+
# the default boto3 behavior is applied (where REQUESTS_CA_BUNDLE can still be used,
35+
# and otherwise, boto3 defaults to verify=True).
3636
# Note: cacert must be used to pass the certificate; don't use verify for that; cf.
3737
# https://docs.openstack.org/openstacksdk/latest/user/config/configuration.html#ssl-settings
3838
if cfg.get("insecure") or not cfg.get("verify", True):

0 commit comments

Comments
 (0)