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 <42029519+Azanul@users.noreply.github.com>
  • Loading branch information
bishal7679 and Azanul authored Nov 13, 2023
1 parent 6958325 commit 62ddcb4
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 62ddcb4

Please sign in to comment.