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:
parent
15d2330918
commit
c24a18d514
|
@ -92,7 +92,6 @@ func testResourceNestedSet() *schema.Resource {
|
||||||
"with_list": {
|
"with_list": {
|
||||||
Type: schema.TypeSet,
|
Type: schema.TypeSet,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
Computed: true,
|
|
||||||
Elem: &schema.Resource{
|
Elem: &schema.Resource{
|
||||||
Schema: map[string]*schema.Schema{
|
Schema: map[string]*schema.Schema{
|
||||||
"required": {
|
"required": {
|
||||||
|
@ -131,7 +130,7 @@ func testResourceNestedSetCreate(d *schema.ResourceData, meta interface{}) error
|
||||||
|
|
||||||
d.Set("single", set)
|
d.Set("single", set)
|
||||||
|
|
||||||
return testResourceNestedRead(d, meta)
|
return testResourceNestedSetRead(d, meta)
|
||||||
}
|
}
|
||||||
|
|
||||||
func testResourceNestedSetRead(d *schema.ResourceData, meta interface{}) error {
|
func testResourceNestedSetRead(d *schema.ResourceData, meta interface{}) error {
|
||||||
|
|
Loading…
Reference in New Issue