schemas: backup: Remove pointless <choice> for 'name' of backup disk

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@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Peter Krempa 2019-12-20 11:27:37 +01:00
parent 5632ed8bad
commit 5b53d9dd91

View File

@ -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>