lib/openvz/inventory.rb in openvz-1.2 vs lib/openvz/inventory.rb in openvz-1.4
- old
+ new
@@ -14,7 +14,11 @@
if l =~ /^\s+(\d+)\s+(.*)\s+(running|stopped)\s+(.*)\s\s(.*)$/
self[$1] = Container.new($1)
end
}
end
+
+ def to_hash
+ @data
+ end
end
end