File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,11 @@ const (
3030var (
3131 // /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVNet/subnets/mySubnet
3232 // Azure resource path pattern
33- azureSubscriptionPattern = `(?i)/subscriptions/([^(/\s')]+)`
34- azureResourceGroupPattern = `(?i)/resource[Gg]roups/([^(/\s')]+)`
35- azureResourcePattern = `(?i)/providers/([^/]+)/([^/]+)/([^(/\s')]+)`
36- azureSubresourcePattern = `(?i)` + azureResourcePattern + `/([^/]+)/([^(/\s')]+)`
37- azureNodePoolPattern = `(?i)Microsoft.RedHatOpenShift/hcpOpenShiftClusters/nodePools/([^(/\s')]+)`
33+ azureSubscriptionPattern = `(?i)/subscriptions/([^(/\s'" )]+)`
34+ azureResourceGroupPattern = `(?i)/resource[Gg]roups/([^(/\s'" )]+)`
35+ azureResourcePattern = `(?i)/providers/([^/]+)/([^/]+)/([^(/\s'" )]+)`
36+ azureSubresourcePattern = `(?i)` + azureResourcePattern + `/([^/]+)/([^(/\s'" )]+)`
37+ azureNodePoolPattern = `(?i)Microsoft.RedHatOpenShift/hcpOpenShiftClusters/nodePools/([^(/\s'" )]+)`
3838)
3939
4040type partialRegexReplacer struct {
You can’t perform that action at this time.
0 commit comments