Skip to content

Commit

Permalink
address quentin's comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kindermoumoute committed Dec 6, 2019
1 parent 712f097 commit e9eee01
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scaleway/data_source_marketplace_image_beta.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ func dataSourceScalewayMarketplaceImageReadBeta(d *schema.ResourceData, m interf
CommercialType: d.Get("instance_type").(string),
Zone: zone,
})
if err != nil {
return err
}

zonedID := datasourceNewZonedID(imageID, zone)
d.SetId(zonedID)
Expand Down

0 comments on commit e9eee01

Please sign in to comment.