Skip to content

Commit

Permalink
fix: only set if not given
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Oct 31, 2024
1 parent 39233fa commit 7624cdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ape/managers/networks.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def fork(
raise NetworkError(f"Unable to fork network '{network_name}'.") from err

provider_settings = provider_settings or {}
if is_fork_already:
if is_fork_already and "host" not in provider_settings:
# Forking a fork- to ensure is using a different Port,
# use the "auto-port" feature.
provider_settings["host"] = "auto"
Expand Down

0 comments on commit 7624cdf

Please sign in to comment.