aboutsummaryrefslogtreecommitdiff
path: root/plugin/clouddns/clouddns_test.go
diff options
context:
space:
mode:
authorGravatar luanphantiki <49431969+luanphantiki@users.noreply.github.com> 2021-01-12 19:38:18 +0700
committerGravatar GitHub <noreply@github.com> 2021-01-12 13:38:18 +0100
commited891c5c4e494248385510844c05a50826bff6a8 (patch)
tree24d6eb878af02e67cb6fdf90d8615d61ff6539dc /plugin/clouddns/clouddns_test.go
parent0f307cf7284f52307e991526919e0e58895c3a33 (diff)
downloadcoredns-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_test.go')
-rw-r--r--plugin/clouddns/clouddns_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/clouddns/clouddns_test.go b/plugin/clouddns/clouddns_test.go
index 7d9db85f3..f394f0593 100644
--- a/plugin/clouddns/clouddns_test.go
+++ b/plugin/clouddns/clouddns_test.go
@@ -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")
}