twister: hwm: rename forgotten connected_hardware -> duts

This was forgotten from an early overhaul, fix this as
connected_hardware attribute does not exist anymore.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2022-05-09 12:43:32 -04:00
parent 7a83d4fe02
commit 0313c5ce6f

View file

@ -1105,7 +1105,7 @@ def main():
# If the platform does not exist in the hardware map, just skip it.
connected_list = []
if not options.platform:
for connected in hwm.connected_hardware:
for connected in hwm.duts:
if connected['connected']:
connected_list.append(connected['platform'])