Permalink
Browse files

volumes in GB instead of MB

  • Loading branch information...
1 parent 17696af commit 675772898b9a1035259b2ee1dd7809b10d204005 @eval eval committed Sep 10, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/sumo
View
@@ -100,13 +100,13 @@ class CLI < Thor
desc "volumes", "list all volumes"
def volumes
sumo.volumes.each do |v|
- printf "%-10s %4sMB %10s %15s %15s\n", v[:volume_id], v[:size], v[:status], v[:instance], v[:device]
+ printf "%-10s %4sGB %10s %15s %15s\n", v[:volume_id], v[:size], v[:status], v[:instance], v[:device]
end
end
desc "create_volume [<megabytes>]", "create a volume"
def create_volume(size=5)
- task("Create #{size}MB volume") { sumo.create_volume(size) }
+ task("Create #{size}GB volume") { sumo.create_volume(size) }
end
desc "destroy_volume [<volume_id>]", "destroy a volume"

0 comments on commit 6757728

Please sign in to comment.