Skip to content

Commit 18a44da

Browse files
committed
Handle breaking change in minio 7.2.19
1 parent 0181208 commit 18a44da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tiled/_tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ def minio_uri():
326326
uri = url._replace(netloc="{}:{}".format(url.hostname, url.port), path="")
327327

328328
client = Minio(
329-
uri.geturl(),
329+
endpoint=uri.geturl(),
330330
access_key=url.username,
331331
secret_key=url.password,
332332
secure=False,

tiled/_tests/test_writing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def tmp_minio_bucket():
5555
if uri := os.getenv("TILED_TEST_BUCKET"):
5656
clean_uri, username, password = sanitize_uri(uri)
5757
minio_client = Minio(
58-
urlparse(clean_uri).netloc, # e.g. only "localhost:9000"
58+
endpoint=urlparse(clean_uri).netloc, # e.g. only "localhost:9000"
5959
access_key=username or "minioadmin",
6060
secret_key=password or "minioadmin",
6161
secure=False,

0 commit comments

Comments
 (0)