Stephen Finucane bf834f6d75 compute: Fix 'hypervisor show -f yaml' output
The 'cpu_info' field returned by the 'os-hypervisors' API is an object
and should be formatted as such.  However, this is complicated by the
fact that the object in this field is stringified until microversion
2.28 and is only returned as an actual object on later microversions.
Handle the conversion from the string for older microversions and
display things correctly for all releases.

Change-Id: Ide31466cbb9e89c96d6bd542fe039ab5ed1fac1f
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2021-01-06 12:02:25 +00:00
..
2020-10-07 02:15:25 +00:00
2020-11-11 09:18:49 +00:00
2018-04-15 12:23:06 +09:00
2017-03-21 17:23:09 +08:00
2020-10-07 02:15:25 +00:00