Skip to content

Commit

Permalink
Fix position of hardware filter in mrack request
Browse files Browse the repository at this point in the history
This was broken in 1.36.0, therefore HW requirements were ignored.
  • Loading branch information
happz committed Sep 17, 2024
1 parent bf8da4a commit 386d122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tmt/steps/provision/mrack.py
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ def create_host_requirement(self, host: CreateJobParameters) -> dict[str, Any]:
req: dict[str, Any] = super().create_host_requirement(dataclasses.asdict(host))

if host.hardware and host.hardware.constraint:
req['beaker'] = self._translate_tmt_hw(host.hardware)
req.update(self._translate_tmt_hw(host.hardware))

if host.beaker_job_owner:
req['job_owner'] = host.beaker_job_owner
Expand Down

0 comments on commit 386d122

Please sign in to comment.