Skip to content

Commit 571542b

Browse files
JordanPk8s-infra-cherrypick-robot
authored andcommitted
pkg/common/utils.go: update regionalLocationFmt for Europe with 10+ regions
GCP now offers more than 10 regions in Europe. Update the regex accordingly.
1 parent f753762 commit 571542b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/common/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const (
7171
// Example: us
7272
multiRegionalLocationFmt = "^[a-z]+$"
7373
// Example: us-east1
74-
regionalLocationFmt = "^[a-z]+-[a-z]+[0-9]$"
74+
regionalLocationFmt = "^[a-z]+-[a-z]+[0-9]+$"
7575

7676
// Full or partial URL of the machine type resource, in the format:
7777
// zones/zone/machineTypes/machine-type

0 commit comments

Comments
 (0)