Skip to content

Commit 0aa3fd3

Browse files
authored
fix env already shows published port (#1443)
1 parent c187cd4 commit 0aa3fd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/pytest-simcore/src/pytest_simcore/minio_service.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def minio_config(docker_stack: Dict, devel_environ: Dict) -> Dict[str, str]:
2323
# container onto the host network interface.
2424
config = {
2525
"client": {
26-
"endpoint": f"172.17.0.1:{get_service_published_port('minio', devel_environ['S3_ENDPOINT'].split(':')[1])}",
26+
"endpoint": f"172.17.0.1:{get_service_published_port('minio')}",
2727
"access_key": devel_environ["S3_ACCESS_KEY"],
2828
"secret_key": devel_environ["S3_SECRET_KEY"],
2929
"secure": strtobool(devel_environ["S3_SECURE"]) != 0,

0 commit comments

Comments
 (0)