Skip to content

Commit

Permalink
Handle openstack.image.list output with status column for mitaka
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Moravec committed Jun 21, 2016
1 parent 36ae891 commit 7422850
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/cct/commands/openstack/image.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7422850

Please sign in to comment.