]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
schemas: backup: Remove pointless <choice> for 'name' of backup disk
authorPeter Krempa <pkrempa@redhat.com>
Fri, 20 Dec 2019 10:27:37 +0000 (11:27 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 6 Jan 2020 09:15:36 +0000 (10:15 +0100)
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>
docs/schemas/domainbackup.rng

index 7286acb18c9b7acb993cf1d56f50548d35282587..c1e4d803028fcdc3a152e69fe3b49aa97b8ffca5 100644 (file)
         <oneOrMore>
           <element name='disk'>
             <attribute name='name'>
-              <choice>
-                <ref name='diskTarget'/>
-              </choice>
+              <ref name='diskTarget'/>
             </attribute>
             <choice>
               <group>
         <oneOrMore>
           <element name='disk'>
             <attribute name='name'>
-              <choice>
-                <ref name='diskTarget'/>
-              </choice>
+              <ref name='diskTarget'/>
             </attribute>
             <choice>
               <group>