summaryrefslogtreecommitdiffstats
path: root/src/virt-viewer-util.c
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2015-01-30 08:24:15 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2015-03-12 17:48:36 +0100
commitccafa32fe0efece1d7945618b82ce61eed73e97c (patch)
treec4ce27afa8cb514ebc66baf862405cb856e12855 /src/virt-viewer-util.c
parentf9577b9197b737be722cfd5632b6077ce6b041ff (diff)
downloadvirt-viewer-ccafa32fe0efece1d7945618b82ce61eed73e97c.tar.gz
virt-viewer-ccafa32fe0efece1d7945618b82ce61eed73e97c.tar.xz
virt-viewer-ccafa32fe0efece1d7945618b82ce61eed73e97c.zip
ovirt: Fail gracefully when hostname is missing
When parsing info returned by oVirt REST API, the hostname should be present. However, I recently run remote-viewer against a buggy oVirt instance where the hostname was missing. This commit handles better this situation by displaying an error message and exiting.
Diffstat (limited to 'src/virt-viewer-util.c')
0 files changed, 0 insertions, 0 deletions