Skip to content

Commit

Permalink
refactor: change metadata function in roles ds
Browse files Browse the repository at this point in the history
  • Loading branch information
marinsalinas committed Nov 24, 2020
1 parent f8ae9f2 commit 45b35ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nutanix/data_source_nutanix_roles.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ func dataSourceNutanixRolesRead(d *schema.ResourceData, meta interface{}) error

metadata, filtersOk := d.GetOk("metadata")
if filtersOk {
req = buildDataSourceSubnetsMetadata(metadata.(*schema.Set))
req = buildDataSourceListMetadata(metadata.(*schema.Set))
}

resp, err := conn.V3.ListRole(req)
Expand Down

0 comments on commit 45b35ff

Please sign in to comment.