mirror of https://gitee.com/openkylin/libvirt.git
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:
parent
ece6cb354d
commit
33092d716c
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue