We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab82d1b commit 6036b15Copy full SHA for 6036b15
src/pyatsimagebuilder/utils.py
@@ -508,8 +508,8 @@ def _process_testbed_file(profile, yaml_contents):
508
if dev.get(key):
509
testbed_info[dev_name][key] = dev[key]
510
if dev.get('connections', {}).get('a'):
511
- port = dev[key]['a'].get('port')
512
- ip = dev[key]['a'].get('ip')
+ port = dev['connections']['a'].get('port')
+ ip = dev['connections']['a'].get('ip')
513
if ip and port:
514
testbed_info[dev_name]['console'] = f'{ip}:{port}'
515
0 commit comments