mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
topology: make cn of new segment consistent with topology plugin
Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
parent
2b8e1caa7b
commit
66ea322e7e
@ -69,7 +69,7 @@ class topologysegment(LDAPObject):
|
|||||||
primary_key=True,
|
primary_key=True,
|
||||||
label=_('Segment name'),
|
label=_('Segment name'),
|
||||||
default_from=lambda iparepltoposegmentleftnode, iparepltoposegmentrightnode:
|
default_from=lambda iparepltoposegmentleftnode, iparepltoposegmentrightnode:
|
||||||
'%s-%s' % (iparepltoposegmentleftnode, iparepltoposegmentrightnode),
|
'%s-to-%s' % (iparepltoposegmentleftnode, iparepltoposegmentrightnode),
|
||||||
normalizer=lambda value: value.lower(),
|
normalizer=lambda value: value.lower(),
|
||||||
doc=_('Arbitrary string identifying the segment'),
|
doc=_('Arbitrary string identifying the segment'),
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user