lib/commands/container.rb in testlab-0.6.15 vs lib/commands/container.rb in testlab-0.6.16
- old
+ new
@@ -177,12 +177,10 @@
# No ID supplied; show everything
containers = @testlab.containers.delete_if{ |c| c.node.dead? }
if containers.count == 0
@testlab.ui.stderr.puts("You either have no containers defined or dead nodes!".yellow)
else
- # ZTK::Report.new(:ui => @testlab.ui).spreadsheet(containers, TestLab::Container::STATUS_KEYS.reject{|k| k == :fqdn}) do |container|
ZTK::Report.new(:ui => @testlab.ui).list(containers, TestLab::Container::STATUS_KEYS) do |container|
- # OpenStruct.new(container.status.reject{|k,v| k == :fqdn})
OpenStruct.new(container.status)
end
end
else
# ID supplied; show just that item