One of the first versions thought of using disk path as the second
option but this was dropped as being a legacy interface. Remove the
leftover pointless <choice> wrapper for the disk name as there's just
one option now.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
docs/schemas/domainbackup.rng | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/docs/schemas/domainbackup.rng b/docs/schemas/domainbackup.rng
index 7286acb18c..c1e4d80302 100644
--- a/docs/schemas/domainbackup.rng
+++ b/docs/schemas/domainbackup.rng
@@ -104,9 +104,7 @@
<oneOrMore>
<element name='disk'>
<attribute name='name'>
- <choice>
- <ref name='diskTarget'/>
- </choice>
+ <ref name='diskTarget'/>
</attribute>
<choice>
<group>
@@ -165,9 +163,7 @@
<oneOrMore>
<element name='disk'>
<attribute name='name'>
- <choice>
- <ref name='diskTarget'/>
- </choice>
+ <ref name='diskTarget'/>
</attribute>
<choice>
<group>
--
2.23.0