mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-26 16:16:31 -06:00
When raising an error about a required attribute, use cli_name not name.
name is an LDAP attribute and may not be easily identifiable (e.g. sn).
This commit is contained in:
parent
96d7de9cae
commit
f7b512b826
@ -703,7 +703,7 @@ class Param(ReadOnly):
|
||||
"""
|
||||
if value is None:
|
||||
if self.required:
|
||||
raise RequirementError(name=self.name)
|
||||
raise RequirementError(name=self.cli_name)
|
||||
return
|
||||
if self.query:
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user