Skip to content

Commit 05f4185

Browse files
authored
Fix: update inconsistent metadata validators (#5834)
2 parents 22cda42 + e6016dd commit 05f4185

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)