mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-04-05 08:54:09 -04:00
fix(gcp): disable custom http client (#405)
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -0,0 +1 @@
|
||||
data
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user