File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,9 @@ func cassetteRequestFilter(i *cassette.Interaction) error {
19
19
delete (i .Request .Headers , "x-auth-token" )
20
20
delete (i .Request .Headers , "X-Auth-Token" )
21
21
22
- orgIDRegex := regexp .MustCompile (" organization_id=[0-9a-f-]{36}" )
23
- tokenRegex := regexp .MustCompile (`api\.scaleway\.com/account/v1/tokens/[0-9a-f-]{36}` )
24
- apiKeyRegex := regexp .MustCompile (`^api\.scaleway\.com/iam/v1alpha1/api-keys/SCW[0-9A-Z]{17}` )
22
+ orgIDRegex := regexp .MustCompile (`^ organization_id=[0-9a-f-]{36}$` )
23
+ tokenRegex := regexp .MustCompile (`^https:// api\.scaleway\.com/account/v1/tokens/[0-9a-f-]{36}$ ` )
24
+ apiKeyRegex := regexp .MustCompile (`^https:// api\.scaleway\.com/iam/v1alpha1/api-keys/SCW[0-9A-Z]{17}$ ` )
25
25
26
26
i .URL = orgIDRegex .ReplaceAllString (
27
27
i .URL ,
You can’t perform that action at this time.
0 commit comments