Skip to content

Commit

Permalink
Update providers/digitalocean/storage/volumes.go
Browse files Browse the repository at this point in the history
Co-authored-by: Azanul Haque <[email protected]>
  • Loading branch information
bishal7679 and Azanul authored Nov 13, 2023
1 parent 1714ad4 commit edd7a8a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions providers/digitalocean/storage/volumes.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ func Volumes(ctx context.Context, client providers.ProviderClient) ([]models.Res
sizeInGB := volume.SizeGigaBytes
if sizeInGB <= 100 {
hourlyPrice = 0.015
}
if sizeInGB <= 500 && sizeInGB > 100 {
} else if sizeInGB <= 500 {
hourlyPrice = 0.075
} else {
hourlyPrice = 0.150
Expand Down

0 comments on commit edd7a8a

Please sign in to comment.