]> xenbits.xensource.com Git - libvirt.git/commit
lib: Don't force the key argument when deleting metadata
authorPeter Krempa <pkrempa@redhat.com>
Tue, 10 Sep 2013 09:25:55 +0000 (11:25 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 17 Sep 2013 07:42:49 +0000 (09:42 +0200)
commit3b6784d119074e3be8861cc4c30630f299bde121
tree4687e5bfe1a783959ad02f81186aa812d4d1788e
parent73bfac0e7182a3abde02304fd2f17845715a9a2e
lib: Don't force the key argument when deleting metadata

virDomainSetMetadata when operating on the metadata element was
requesting the @key argument to be passed even if @metadata was NULL
used to delete the corresponding metadata element. This is not needed as
the key is only used when adding the element and matching is done via
the XML namespace.
src/libvirt.c