Skip to content

Commit

Permalink
Merge pull request #10 from f41gh7/typo-fix
Browse files Browse the repository at this point in the history
typo fix
  • Loading branch information
f41gh7 committed Jul 12, 2021
2 parents c877774 + 7e518ed commit b5e23b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/types/disk.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type StorageSize struct {

func NewStorageSizeFromMb(mb int64)*StorageSize{
return &StorageSize{
b: mb/1024/1024,
b: mb*1024*1024,
}
}
// NewStorageSize - creates storage size from given bytes.
Expand Down

0 comments on commit b5e23b8

Please sign in to comment.