Skip to content

Commit

Permalink
fixed config processing for new devs (#681)
Browse files Browse the repository at this point in the history
Co-authored-by: Konstantin Kovalev <konstantinkovalev@kmac.local>
  • Loading branch information
KonsKo and Konstantin Kovalev authored Sep 24, 2024
1 parent 4a81cd0 commit fc5e2e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ def _do_run(self, cmd):
env = {"TFW_CFG_PATH": self.config_name, "TFW_CFG_TMPL": self.tmp_config_name}
if tf_cfg.cfg.get("Tempesta", "interfaces"):
env.update(
{"TFW_DEV": tf_cfg.cfg.net_devices},
{"TFW_DEV": tf_cfg.cfg.get("Tempesta", "interfaces")},
)
self.node.run_cmd(cmd, timeout=30, env=env, err_msg=(self.err_msg % "start"))

Expand Down

0 comments on commit fc5e2e3

Please sign in to comment.