Skip to content

Commit

Permalink
Merge pull request #2 from BESTSELLER/rewrite
Browse files Browse the repository at this point in the history
Fixed it ?
  • Loading branch information
Lasse G authored Jul 22, 2020
2 parents 4892fdc + 4ceb5a1 commit b2a946d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/resource_availableprefixes.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func resourceAvailablePrefixRead(d *schema.ResourceData, m interface{}) error {
d.Set("description", resp.Description)
d.Set("prefix_length", resp.PrefixLength)
d.Set("prefix_id", resp.ID)
d.Set("parent_prefix_id", resp.ParentPrefixID)
d.Set("parent_prefix_id", d.Get("parent_prefix_id").(int))

return nil
}
Expand Down

0 comments on commit b2a946d

Please sign in to comment.