Skip to content

Commit

Permalink
Merge pull request #1217 from citrix/dnsnsrec
Browse files Browse the repository at this point in the history
Updated the read func to handle if the resource is not present on Net…
  • Loading branch information
rohit-myali authored Oct 15, 2024
2 parents fe8d646 + a4ffa4b commit 3b5e6d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions citrixadc/resource_citrixadc_dnsnsrec.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ func readDnsnsrecFunc(d *schema.ResourceData, meta interface{}) error {
log.Printf("[DEBUG] citrixadc-provider: FindResourceArrayWithParams dnsnsrec not found in array")
log.Printf("[WARN] citrixadc-provider: Clearing dnsnsrec state %s", dnsnsrecId)
d.SetId("")
return nil
}

data := dataArr[foundIndex]
Expand Down

0 comments on commit 3b5e6d8

Please sign in to comment.