mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +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: 7b0e2e4a55
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…
Reference in New Issue
Block a user