lib/cloudstack-cli/commands/cluster.rb in cloudstack-cli-0.6.1 vs lib/cloudstack-cli/commands/cluster.rb in cloudstack-cli-0.7.0
- old
+ new
@@ -4,10 +4,10 @@
def list
clusters = client.list_clusters(options)
if clusters.size < 1
say "No clusters found."
else
- table = [["Name", "Pod-Name", "Type", "Zone"]]
+ table = [%w(Name Pod_Name Type Zone)]
clusters.each do |cluster|
table << [
cluster['name'], cluster['podname'],
cluster['hypervisortype'], cluster['zonename']
]
\ No newline at end of file