Skip to content

Commit

Permalink
compute: fix #181
Browse files Browse the repository at this point in the history
Signed-off-by: Yoan Blanc <yoan.blanc@exoscale.ch>
  • Loading branch information
Yoan Blanc committed Aug 31, 2018
1 parent d2ab9be commit 865d79a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exoscale/resource_compute.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ func createCompute(d *schema.ResourceData, meta interface{}) error {
}

// Pick the smallest disk size
if template.Size < currentDiskSize {
if template.Size <= currentDiskSize {
currentDiskSize = template.Size
templateID = template.ID
continue
Expand Down

0 comments on commit 865d79a

Please sign in to comment.