To match the XML roots domainCapabilities and storagepoolCapabilities,
the wildcards should be *domainCap* and *storagepoolCap*.
Fixes: 7b0e2e4a55
Signed-off-by: Han Han <hhan(a)redhat.com>
---
tools/virt-xml-validate.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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*)
--
2.36.1