mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
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 <hhan@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
19c8da1d4c
commit
89c16bf9dd
@ -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*)
|
||||
|
Loading…
x
Reference in New Issue
Block a user