mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
bug #563: delete empty columns from virsh list output
(cherry picked from commit 9f7b0864044abc146948f4e756810fae7ba83afb)
This commit is contained in:
parent
e1f9fb3a67
commit
9b3ba5ceb8
@ -118,7 +118,7 @@ private
|
||||
lines=text.split(/\n/)[2..-1]
|
||||
|
||||
lines.map do |line|
|
||||
line.split(/\s+/)[1]
|
||||
line.split(/\s+/).delete_if {|d| d.empty? }[1]
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user