Skip to content

Commit

Permalink
Fixup:no default value when trying to get parameter value
Browse files Browse the repository at this point in the history
Signed-off-by: Haijiao Zhao <[email protected]>
  • Loading branch information
chloerh committed Nov 1, 2024
1 parent a1cc22c commit 6139acc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def run(test, params, env):
iface_mtu = params.get('iface_mtu')
iface_mtu_2 = params.get('iface_mtu_2')
iface_attrs = eval(params.get('iface_attrs'))
iface_attrs_2 = eval(params.get('iface_attrs_2'))
iface_attrs_2 = eval(params.get('iface_attrs_2', '{}'))
iface_amount = params.get('iface_amount')
outside_ip = params.get('outside_ip')
host_iface = params.get('host_iface')
Expand Down

0 comments on commit 6139acc

Please sign in to comment.