lib/mccloud/provider/aws/provider/status.rb in mccloud-0.0.18 vs lib/mccloud/provider/aws/provider/status.rb in mccloud-0.0.19
- old
+ new
@@ -36,10 +36,10 @@
env.ui.info ""
env.ui.info "Image(s) - provider #{@name}"
80.times { |i| printf "=" } ; env.ui.info ""
images_list=raw.images.all({"Owner" => "self"})
images_list.each do |image|
- printf "%-10s %-10s %-10s %-20s\n",image.id,image.name.gsub(/"#{filter}"/,''),image.state, image.description[0..20]
+ printf "%-10s %-10s %-10s %-20s\n",image.id,image.name.gsub(/"#{filter}"/,''),image.state, image.description.to_s[0..20]
end
# List volumes
env.ui.info ""
env.ui.info "Volume(s) - provider #{@name}"