Skip to content

Commit 37f5902

Browse files
fix(minio): minio client requires kwargs now (#933)
1 parent 5853d32 commit 37f5902

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/minio/testcontainers/minio/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def get_client(self, **kwargs) -> Minio:
7676
host_ip = self.get_container_host_ip()
7777
exposed_port = self.get_exposed_port(self.port)
7878
return Minio(
79-
f"{host_ip}:{exposed_port}",
79+
endpoint=f"{host_ip}:{exposed_port}",
8080
access_key=self.access_key,
8181
secret_key=self.secret_key,
8282
secure=False,

0 commit comments

Comments
 (0)