mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44: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:
@@ -24,7 +24,7 @@ func (c fakeGCPClient) zoneExists(projectName, hostedZoneName string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (c fakeGCPClient) listRRSets(projectName, hostedZoneName string) (*gcp.ResourceRecordSetsListResponse, error) {
|
||||
func (c fakeGCPClient) listRRSets(ctx context.Context, projectName, hostedZoneName string) (*gcp.ResourceRecordSetsListResponse, error) {
|
||||
if projectName == "bad-project" || hostedZoneName == "bad-zone" {
|
||||
return nil, errors.New("the 'parameters.managedZone' resource named 'bad-zone' does not exist")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user