Skip to content

Commit e6016dd

Browse files
committed
Fix partition name validator
1 parent 22cda42 commit e6016dd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • community/modules/compute/schedmd-slurm-gcp-v6-partition

community/modules/compute/schedmd-slurm-gcp-v6-partition/metadata.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ ghpc:
2222
- validator: regex
2323
inputs:
2424
vars: [partition_name]
25-
pattern: "^[a-z](?:[a-z0-9]*)$"
26-
error_message: "'partition_name' must start with a lowercase letter and can only contain lowercase letters and numbers."
25+
pattern: "^[a-z](?:[a-z0-9-]*)$"
26+
error_message: "'partition_name' must start with a lowercase letter and can only contain lowercase letters, numbers, and hyphens."
2727
- validator: exclusive
2828
inputs:
2929
vars: [nodeset, nodeset_dyn, nodeset_tpu]

0 commit comments

Comments
 (0)