]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
schema: make target mandatory for filesystems
authorJán Tomko <jtomko@redhat.com>
Tue, 27 Jul 2021 10:39:50 +0000 (12:39 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 27 Jul 2021 13:30:50 +0000 (15:30 +0200)
Commit 12967c3e13 incorrectly made the target optional.
The validation was re-introduced by commit e8863b91f (which
put it into FSDefValidate instead of the parser), but
it did not amend the schema to make it mandatory again.

https://bugzilla.redhat.com/show_bug.cgi?id=1969232

Fixes: e8863b91fb98f077d4c44a11bd7ea84c5e6b29ef
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
docs/schemas/domaincommon.rng

index 14c5d4ee68db979bb32f55ee1e47386a8ab9a252..24420789696fdb6cbfe12a84f526a67402e10f49 100644 (file)
           </group>
         </choice>
         <interleave>
-          <optional>
-            <element name="target">
-              <attribute name="dir"/>
-              <empty/>
-            </element>
-          </optional>
+          <element name="target">
+            <attribute name="dir"/>
+            <empty/>
+          </element>
           <optional>
             <attribute name="accessmode">
               <choice>