diff options
author | 2021-01-12 19:38:18 +0700 | |
---|---|---|
committer | 2021-01-12 13:38:18 +0100 | |
commit | ed891c5c4e494248385510844c05a50826bff6a8 (patch) | |
tree | 24d6eb878af02e67cb6fdf90d8615d61ff6539dc /plugin/clouddns/clouddns.go | |
parent | 0f307cf7284f52307e991526919e0e58895c3a33 (diff) | |
download | coredns-ed891c5c4e494248385510844c05a50826bff6a8.tar.gz coredns-ed891c5c4e494248385510844c05a50826bff6a8.tar.zst coredns-ed891c5c4e494248385510844c05a50826bff6a8.zip |
fix record missing for zone with many of records (#4328)
* fix record missing for zone with many of records
* Update debug log
* Update debug mesg
* update test_clouddns
Diffstat (limited to 'plugin/clouddns/clouddns.go')
-rw-r--r-- | plugin/clouddns/clouddns.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/clouddns/clouddns.go b/plugin/clouddns/clouddns.go index 343b4ca53..371832440 100644 --- a/plugin/clouddns/clouddns.go +++ b/plugin/clouddns/clouddns.go @@ -189,7 +189,7 @@ func (h *CloudDNS) updateZones(ctx context.Context) error { for i, hostedZone := range z { newZ := file.NewZone(zName, "") newZ.Upstream = h.upstream - rrListResponse, err = h.client.listRRSets(hostedZone.projectName, hostedZone.zoneName) + rrListResponse, err = h.client.listRRSets(ctx, hostedZone.projectName, hostedZone.zoneName) if err != nil { err = fmt.Errorf("failed to list resource records for %v:%v:%v from gcp: %v", zName, hostedZone.projectName, hostedZone.zoneName, err) return |