mirror of
https://github.com/coredns/coredns.git
synced 2025-10-30 09:43:17 -04:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user