]> git.ipfire.org Git - thirdparty/libvirt.git/commit
admin: Fix default uri config option name s/admin_uri_default/uri_default
authorErik Skultety <eskultet@redhat.com>
Wed, 27 Jul 2016 11:23:03 +0000 (13:23 +0200)
committerErik Skultety <eskultet@redhat.com>
Fri, 29 Jul 2016 07:21:09 +0000 (09:21 +0200)
commitf5f32bcd1bb7d96b38c34a85658ac0996683f8bc
tree36ae49c7f6fdc1067b5c3ee21e75843c2405c2ff
parent98aefa813d04bebf9e5c33da3422e3ba1ef94403
admin: Fix default uri config option name s/admin_uri_default/uri_default

The original name 'admin_uri_default' was introduced to our code by commit
dbecb87f. However, at that time we already had a separate config file for
admin library but the commit mentioned above didn't properly adjust the
config's option name. The result is that when we're loading the config, we
check a non-existent config option (there's not much to do with the URIs
anyway, since we only allow local connection). Additionally, virt-admin's man
page documents, that the default URI can be altered by setting
admin_uri_default option. So the fix proposed by this patch leaves the
libvirt-admin.conf as is and adjusts the naming in the code as well as in the
virt-admin's man page.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
src/libvirt-admin.c
tools/virt-admin.pod