From 7422850a06b5230568b0da4b08675b322cedd290 Mon Sep 17 00:00:00 2001 From: Vladimir Moravec Date: Tue, 21 Jun 2016 18:58:07 +0200 Subject: [PATCH] Handle openstack.image.list output with status column for mitaka --- lib/cct/commands/openstack/image.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/cct/commands/openstack/image.rb b/lib/cct/commands/openstack/image.rb index c020350..4eb7e1b 100644 --- a/lib/cct/commands/openstack/image.rb +++ b/lib/cct/commands/openstack/image.rb @@ -4,6 +4,12 @@ module Openstack class Image < Command self.command = ["image"] + def list *options + super(options << columns( + Struct.new(:id, :name, :status) + )) + end + def create name, options={} super do |params| # mandatory params