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 0f9f7b7 commit 9ff002fCopy full SHA for 9ff002f
src/hyperpod_cli/commands/job.py
@@ -767,6 +767,11 @@ def start_job(
767
if custom_labels
768
else None,
769
)
770
+
771
+ if "custom_labels" not in config["cluster"]["cluster_config"] or config["cluster"]["cluster_config"]["custom_labels"] is None:
772
+ config["cluster"]["cluster_config"]["custom_labels"] = {}
773
+ config["cluster"]["cluster_config"]["custom_labels"][USER_NAME_LABEL_KEY] = user_name
774
775
_override_or_remove(
776
config["cluster"]["cluster_config"], "priority_class_name", priority
777
0 commit comments