Skip to content

Commit 7f4a480

Browse files
varmar05wonder-sk
authored andcommitted
Set MinIO url links to correct schema
1 parent ca0ec93 commit 7f4a480

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def __init__(self, config):
7070
if not bucket_found:
7171
self.client.make_bucket(self.bucket)
7272
# construct base url for bucket
73-
scheme = "https://" if self.config.as_bool("secure") else "http://"
73+
scheme = "https://" if config.as_bool("minio.secure") else "http://"
7474
self.base_url = scheme + config.minio.endpoint + '/' + self.bucket
7575
except S3Error as e:
7676
raise DriverError("MinIO driver init error: " + str(e))

0 commit comments

Comments
 (0)