Skip to content

Commit

Permalink
simplify supervisor_params handling
Browse files Browse the repository at this point in the history
  • Loading branch information
edobry committed Dec 20, 2024
1 parent 1792dcc commit a5c62ef
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/package_io/input_parser.star
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,11 @@ def parse_network_params(plan, input_args):
results["interop"].update(
input_args.get("interop", {})
)

results["interop"]["supervisor_params"] = default_supervisor_params()
if "supervisor_params" in input_args["interop"]:
results["interop"]["supervisor_params"].update(
input_args["interop"]["supervisor_params"]
)
results["interop"]["supervisor_params"].update(
input_args.get("interop", {}).get("supervisor_params", {})
)

# configure chains

Expand Down

0 comments on commit a5c62ef

Please sign in to comment.