Skip to content

Commit c822a59

Browse files
committed
Fix the compute_ids list of a region
`compute_ids` should return the list of ids and not the name of the compute resources Signed-off-by: Ferran Rodenas <[email protected]>
1 parent f8a3c3e commit c822a59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vra/resource_zone.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ func resourceZoneRead(ctx context.Context, d *schema.ResourceData, m interface{}
194194

195195
var computeIds []string
196196
for _, compute := range getComputesResp.Payload.Content {
197-
computeIds = append(computeIds, compute.Name)
197+
computeIds = append(computeIds, *compute.ID)
198198
}
199199
d.Set("compute_ids", computeIds)
200200

0 commit comments

Comments
 (0)