lib/percheron/formatters/stack/table.rb in percheron-0.7.10 vs lib/percheron/formatters/stack/table.rb in percheron-0.7.11
- old
+ new
@@ -44,13 +44,11 @@
end
def process_queue!
resp = []
4.times.map do
- Thread.new do
- queue.size.times { resp << queue.pop(true) }
- end
+ Thread.new { queue.size.times { resp << queue.pop(true) } }
end.map(&:join)
resp
end
def row_for(unit)
@@ -58,10 +56,10 @@
unit.name,
unit.id,
startable(unit),
unit.ip,
unit.ports.join(', '),
- unit.volumes.join(', '),
+ unit.volumes.join("\n"),
version(unit)
]
end
def version(unit)