mirror of
https://github.com/linux-system-roles/network.git
synced 2026-07-20 17:59:00 +00:00
module: fix name for ArgValidator_DictConnection
The name is actually not ever used, because ArgValidator_DictConnection() is never validated directly. Instead, it is always nested inside ArgValidator_ListConnections() which passes "connections[$IDX]" as name to self.nested._validate(). Anyway, still when looking at the name of a ArgValidator_DictConnection instance, it makes slightly more sense to call it just "connection".
This commit is contained in:
parent
97e216c716
commit
b4972517a4
1 changed files with 1 additions and 1 deletions
|
|
@ -628,7 +628,7 @@ class ArgValidator_DictConnection(ArgValidatorDict):
|
|||
def __init__(self):
|
||||
ArgValidatorDict.__init__(
|
||||
self,
|
||||
name="connections[?]",
|
||||
name="connection",
|
||||
nested=[
|
||||
ArgValidatorStr("name"),
|
||||
ArgValidatorStr(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue