schema: domaincommon: Remove pointless 'choice' from 'inituser'/'initgroup'

'genericName' allows arbitrary numeric strings so using an explicit
'unsignedInt' choice is pointless. The elements take an username or a
uid which is prefixed by '+', both of which are covered by
'genericName'.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Peter Krempa 2021-01-06 17:12:03 +01:00
parent ece6cb354d
commit 33092d716c

View File

@ -436,16 +436,10 @@
</optional>
<optional>
<element name="inituser">
<choice>
<ref name="unsignedInt"/>
<ref name="genericName"/>
</choice>
<ref name="genericName"/>
</element>
<element name="initgroup">
<choice>
<ref name="unsignedInt"/>
<ref name="genericName"/>
</choice>
<ref name="genericName"/>
</element>
</optional>
</interleave>