Skip to content

Commit e33ebd3

Browse files
committed
fix assignment in validator
1 parent d8db1fc commit e33ebd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hyperpod_cli/validators/job_validator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def validate_yaml_content(data):
195195
):
196196
if "required" not in label_selector:
197197
label_selector["required"] = {}
198-
required_labels[KUBERNETES_INSTANCE_TYPE_LABEL_KEY] = (
198+
label_selector["required"][KUBERNETES_INSTANCE_TYPE_LABEL_KEY] = (
199199
[str(instance_type)]
200200
)
201201

0 commit comments

Comments
 (0)