From: Han Han Date: Wed, 6 Jul 2022 02:02:52 +0000 (+0800) Subject: virt-xml-validate: Fix incorrect wildcards for XML roots X-Git-Tag: v8.6.0-rc1~135 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89c16bf9ddcab48d75a67cacab48e3dca39e0876;p=thirdparty%2Flibvirt.git virt-xml-validate: Fix incorrect wildcards for XML roots To match the XML roots domainCapabilities and storagepoolCapabilities, the wildcards should be *domainCap* and *storagepoolCap*. Fixes: 7b0e2e4a558da6ea7e450d5a1a30d1557abc5aae Signed-off-by: Han Han Reviewed-by: Michal Privoznik --- diff --git a/tools/virt-xml-validate.in b/tools/virt-xml-validate.in index e444ef2fbc..2d5ba510ab 100644 --- a/tools/virt-xml-validate.in +++ b/tools/virt-xml-validate.in @@ -86,7 +86,7 @@ if [ -z "$TYPE" ]; then *domainbackup*) TYPE="domainbackup" ;; - *domaincaps*) + *domainCap*) TYPE="domaincaps" ;; *domain*) @@ -98,7 +98,7 @@ if [ -z "$TYPE" ]; then *network*) TYPE="network" ;; - *storagepoolcaps*) + *storagepoolCap*) TYPE="storagepoolcaps" ;; *pool*)