Skip to content

Commit

Permalink
Pass correct spec to _parse_system and _parse_location
Browse files Browse the repository at this point in the history
  • Loading branch information
skycastlelily committed May 13, 2024
1 parent 142f3d1 commit 95e26d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tmt/hardware.py
Original file line number Diff line number Diff line change
Expand Up @@ -1332,10 +1332,10 @@ def _parse_generic_spec(spec: Spec) -> BaseConstraint:
group.constraints += [_parse_hostname(spec)]

if 'location' in spec:
group.constraints += [_parse_location(spec)]
group.constraints += [_parse_location(spec['location'])]

if 'system' in spec:
group.constraints += [_parse_system(spec)]
group.constraints += [_parse_system(spec['system'])]

if 'tpm' in spec:
group.constraints += [_parse_tpm(spec['tpm'])]
Expand Down

0 comments on commit 95e26d8

Please sign in to comment.