]> xenbits.xensource.com Git - libvirt.git/commitdiff
rng: Only one secret is in vol instead of zero or more
authorHan Han <hhan@redhat.com>
Wed, 12 Dec 2018 02:54:27 +0000 (10:54 +0800)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 13 Dec 2018 15:01:53 +0000 (16:01 +0100)
Referring to commit fab2e49d, it should be one and only secret for encryption.

Signed-off-by: Han Han <hhan@redhat.com>
docs/schemas/storagecommon.rng

index 9d17d934decb4c14270c6560e255a0c5420a85a0..63b51470a015cbd0f074286d3aa76c134960d02f 100644 (file)
@@ -24,9 +24,7 @@
         </choice>
       </attribute>
       <interleave>
-        <zeroOrMore>
-          <ref name='secret'/>
-        </zeroOrMore>
+        <ref name='secret'/>
         <optional>
           <element name='cipher'>
             <ref name='keycipher'/>