remove unnecessary computed flag

The "with_list" attr wasn't actually computed,

Make sure we read with the correct function.
This commit is contained in:
James Bardin 2018-11-26 18:11:42 -05:00
parent 15d2330918
commit c24a18d514
1 changed files with 1 additions and 2 deletions

View File

@ -92,7 +92,6 @@ func testResourceNestedSet() *schema.Resource {
"with_list": {
Type: schema.TypeSet,
Optional: true,
Computed: true,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"required": {
@ -131,7 +130,7 @@ func testResourceNestedSetCreate(d *schema.ResourceData, meta interface{}) error
d.Set("single", set)
return testResourceNestedRead(d, meta)
return testResourceNestedSetRead(d, meta)
}
func testResourceNestedSetRead(d *schema.ResourceData, meta interface{}) error {