Skip to content

Commit

Permalink
fix(gcs): use host name (not url) for public host (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
shcheklein authored Dec 29, 2024
1 parent 2488502 commit e0791bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pytest_servers/gcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def fake_gcs_server(
url = f"http://localhost:{port}"
command = (
"-backend memory -scheme http "
f"-public-host {url} -external-url {url} "
f"-public-host localhost:{port} -external-url {url} "
)
container = docker_client.containers.run(
"fsouza/fake-gcs-server:1.50.2", # renovate
Expand Down

0 comments on commit e0791bf

Please sign in to comment.