Skip to content

Commit

Permalink
Fixup! Logic fix
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Hughes <[email protected]>
  • Loading branch information
Ahuge committed Dec 16, 2024
1 parent 153e19d commit 6a8d8a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deadline/client/ui/widgets/host_requirements_tab.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def set_requirements(self, requirements: List[Dict[str, Any]]):
"Invalid value {} for option attr.worker.os.family".format(requirement.get("anyOf"))
)
self.os_row.combo_box.setCurrentText(requirement.get("anyOf"))
if requirement.get("name") == "attr.worker.cpu.arch":
elif requirement.get("name") == "attr.worker.cpu.arch":
if requirement.get("anyOf") not in self.CPU_ROW_OPTIONS:
raise ValueError(
"Invalid value {} for option attr.worker.cpu.arch".format(requirement.get("anyOf"))
Expand Down

0 comments on commit 6a8d8a8

Please sign in to comment.