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:
parent
0f307cf728
commit
ed891c5c4e
3 changed files with 18 additions and 8 deletions
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue