aboutsummaryrefslogtreecommitdiff
path: root/core/storage.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/storage.go')
-rw-r--r--core/storage.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/storage.go b/core/storage.go
index 8628e8d..182e1ec 100644
--- a/core/storage.go
+++ b/core/storage.go
@@ -45,11 +45,11 @@ func parseUnitSpec(size []byte) int {
case 1:
return 1000
case 2:
- return 1000000
+ return 1000 * 1000
case 3:
- return 1000000000
+ return 1000 * 1000 * 10000
case 4:
- return 1000000000000
+ return 100000000000000
case 5:
return 1000000000000000
default: