]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: Report UUID/name consistently in driver errors
authorCole Robinson <crobinso@redhat.com>
Mon, 8 Oct 2012 22:37:22 +0000 (18:37 -0400)
committerCole Robinson <crobinso@redhat.com>
Wed, 10 Oct 2012 16:31:52 +0000 (12:31 -0400)
commit3af8280baf2e706562ba55a8bdff788ffa40ee36
treec754ab840bc1152bb581f326e2b450861d28026d
parent4da9b2c1636ffcebbbaee8d31662ac7308b4e54f
storage: Report UUID/name consistently in driver errors

Done with:

sed -i -e "s/no pool with matching uuid/no storage pool with matching uuid/g" src/storage/storage_driver.c
sed -i -e 's/"%s", _("no storage pool with matching uuid")/_("no storage pool with matching uuid %s"), obj->uuid/g' src/storage/storage_driver.c
sed -i -e 's/"%s", _("storage pool is not active")/_("storage pool '%s' is not active"), pool->def->name/g' src/storage/storage_driver.c

And a couple fixups before, during, and after, and a manual inspection
pass to make sure nothing was wonky.
src/storage/storage_driver.c