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