Skip to content

Commit

Permalink
fix(zoneInfo-not-set-bug): use for loop zone
Browse files Browse the repository at this point in the history
Signed-off-by: Moises Aaron Guerra Garcia <[email protected]>
  • Loading branch information
moisesatwork committed Jun 21, 2023
1 parent 706f3ef commit 5ad141f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dnssvcsv1/dns_svcs_v1_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ var _ = Describe(`dnssvcsv1`, func() {
if strings.Contains(*zone.Name, "test-example") {

// First delete PTR record to avoid any record linking issue
listOptions2 := service.NewListResourceRecordsOptions(instanceID, *zoneInfo.ID)
listOptions2 := service.NewListResourceRecordsOptions(instanceID, *zone.ID)
listOptions2.SetType("PTR")
listResult2, _, listErr2 := service.ListResourceRecords(listOptions2)
Expect(listErr2).To(BeNil())
Expand Down Expand Up @@ -274,7 +274,7 @@ var _ = Describe(`dnssvcsv1`, func() {
if strings.Contains(*zone.Name, "test-example") {

// First delete PTR record to avoid any record linking issue
listOptions2 := service.NewListResourceRecordsOptions(instanceID, *zoneInfo.ID)
listOptions2 := service.NewListResourceRecordsOptions(instanceID, *zone.ID)
listOptions2.SetType("PTR")
listResult2, _, listErr2 := service.ListResourceRecords(listOptions2)
Expect(listErr2).To(BeNil())
Expand Down

0 comments on commit 5ad141f

Please sign in to comment.