resourceUltradnsRdpoolRead set rdata

This commit is contained in:
ebilhoo 2017-04-15 19:35:26 +00:00
parent 04553c5d4e
commit 37810872a0
1 changed files with 1 additions and 5 deletions

View File

@ -137,11 +137,7 @@ func resourceUltradnsRdpoolRead(d *schema.ResourceData, meta interface{}) error
d.Set("description", p.Description)
d.Set("order", p.Order)
// TODO: rigorously test this to see if we can remove the error handling
//TODO
//err = d.Set("rdata", makeSetFromStrings(r.RData))
err = d.Set("rdata", makeSetFromStrings(r.RData))
//err = d.Set("rdata", makeSetFromRdataAlone(r.RData))
if err != nil {
return fmt.Errorf("rdata set failed: %#v", err)