mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-31 02:01:16 +00:00
target/descriptor: Fix overwriting variable
Ensure we don't overwrite `conn_params` in the inner for loop.
This commit is contained in:
parent
53faf159e8
commit
9b19f33186
@ -625,9 +625,8 @@ class DefaultTargetDescriptor(TargetDescriptor):
|
||||
|
||||
if plat_conn:
|
||||
td.conn = plat_conn
|
||||
conn_params = CONNECTION_PARAMS[plat_conn]
|
||||
td.conn_params = self._override_params(conn_params, conn_defaults)
|
||||
|
||||
td.conn_params = self._override_params(CONNECTION_PARAMS[plat_conn],
|
||||
conn_defaults)
|
||||
else:
|
||||
td.conn = conn
|
||||
td.conn_params = self._override_params(conn_params, conn_defaults)
|
||||
|
Loading…
x
Reference in New Issue
Block a user