1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Fix column format in econe CLI(cherry picked from commit c5149112d1445f4dc7a824e0bcc79c7fbd93e4cc)

This commit is contained in:
Daniel Molina 2011-01-31 14:07:55 +01:00
parent 158c51bb1e
commit d293f45b8d
3 changed files with 3 additions and 3 deletions

View File

@ -117,7 +117,7 @@ end
images = rc['imagesSet']['item']
fmt = "%-8s %-20s %-30s %-40s %s"
fmt = "%-12s %-13s %-14s %-12s %s"
if headers
puts fmt % ["Owner", "ImageId", "Status", "Visibility", "Location"]

View File

@ -116,7 +116,7 @@ end
instances = rc['reservationSet']['item'][0]['instancesSet']['item']
owner = rc['reservationSet']['item'][0]['ownerId']
fmt = "%-10s %-4s %-36s %-13s %-15s %-10s"
fmt = "%-12s %-13s %-13s %-13s %-15s %-10s"
if headers
puts fmt % ["Owner", "Id", "ImageId", "State", "IP", "Type"]

View File

@ -145,7 +145,7 @@ end
images = rc['instancesSet']['item']
fmt = "%-10s %-36s %-10s %s"
fmt = "%-12s %-13s %-14s %s"
if headers
puts fmt % ["Owner", "ImageId", "InstanceId", "InstanceType"]