Fix crash when group_list has content in network data
This commit is contained in:
parent
8c17f720c8
commit
a4a1bc5f1f
|
@ -8,7 +8,6 @@ import (
|
|||
rapi "burntworld.ca/go-rapi-client"
|
||||
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
|
||||
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
|
||||
|
||||
)
|
||||
|
||||
func dataSourceNetworks() *schema.Resource {
|
||||
|
@ -48,9 +47,12 @@ func dataSourceNetworks() *schema.Resource {
|
|||
Type: schema.TypeList,
|
||||
Computed: true,
|
||||
Elem: &schema.Schema{
|
||||
Type: schema.TypeList,
|
||||
Elemb: &schema.Schema{
|
||||
Type: schema.TypeString,
|
||||
},
|
||||
},
|
||||
},
|
||||
"inst_list": &schema.Schema{
|
||||
Type: schema.TypeList,
|
||||
Computed: true,
|
||||
|
|
Loading…
Reference in New Issue