lib/cloudstack-cli/commands/zone.rb in cloudstack-cli-0.6.1 vs lib/cloudstack-cli/commands/zone.rb in cloudstack-cli-0.7.0
- old
+ new
@@ -4,10 +4,10 @@
def list
zones = client.list_zones
if zones.size < 1
puts "No projects found"
else
- table = [["Name", "Description"]]
+ table = [%w(Name Description)]
zones.each do |zone|
table << [zone['name'] ,zone['description']]
end
end
print_table(table)
\ No newline at end of file