Skip to content

Commit d5d10fe

Browse files
committed
fix linter
1 parent e24294e commit d5d10fe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core/testing_recorder.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ func cassetteRequestFilter(i *cassette.Interaction) error {
2121

2222
orgIDRegex := regexp.MustCompile(`^organization_id=[0-9a-f-]{36}$`)
2323
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}$`)
24+
apiKeyRegex := regexp.MustCompile(
25+
`^https://api\.scaleway\.com/iam/v1alpha1/api-keys/SCW[0-9A-Z]{17}$`,
26+
)
2527

2628
i.URL = orgIDRegex.ReplaceAllString(
2729
i.URL,

0 commit comments

Comments
 (0)