commit | 7f94e669d326abe23552c97751c5ed85adc74ac0 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Wed Jun 13 10:52:27 2012 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Wed Jun 13 10:52:27 2012 +0400 |
tree | d99dc96c5f8f0f1d2ecc94076cc71d30f7d3e2e6 | |
parent | 8780f4477526ae4770b6d85187029383de47f1b5 [diff] |
vzlist: allow to print cpuunits in json format The code have an assumption that every field with .index > 0 is a subordinate field. cpuunits is in fact not, so make it so, i.e. a separate field. Signed-off-by: Kir Kolyshkin <kir@openvz.org>