Skip to content

Commit 40fd21c

Browse files
authored
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 b8b0251 commit 40fd21c

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)