fix(gcp): disable custom http client (#405)

This commit is contained in:
orbatschow
2023-01-08 19:02:53 +01:00
committed by GitHub
parent 3fd82ab89f
commit 8a18aec420
2 changed files with 2 additions and 2 deletions

1
.gitignore vendored
View File

@@ -0,0 +1 @@
data

View File

@@ -20,8 +20,7 @@ func (p *Provider) Update(ctx context.Context, client *http.Client, ip net.IP) (
recordType = constants.AAAA
}
ddnsService, err := clouddns.NewService(ctx,
option.WithHTTPClient(client), option.WithCredentialsJSON(p.credentials))
ddnsService, err := clouddns.NewService(ctx, option.WithCredentialsJSON(p.credentials))
if err != nil {
return nil, fmt.Errorf("creating GCP DDNS service: %w", err)
}