mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +00:00
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…
x
Reference in New Issue
Block a user