mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 02:15:17 +00:00
InfiniBand bond: Fix typo of bond mode active-backup
The correct bond mode is `active-backup` instead of `active_backup`. Thanks to vpal who found this issue via https://github.com/linux-system-roles/network/issues/475 Signed-off-by: Gris Ge <fge@redhat.com>
This commit is contained in:
parent
dfcd294552
commit
3a2fe6d13d
1 changed files with 1 additions and 1 deletions
|
|
@ -2079,7 +2079,7 @@ class ArgValidator_ListConnections(ArgValidatorList):
|
|||
"type by '%s'" % (connection["controller"], c["type"]),
|
||||
)
|
||||
if connection["type"] == "infiniband":
|
||||
if c["type"] == "bond" and c["bond"]["mode"] != "active_backup":
|
||||
if c["type"] == "bond" and c["bond"]["mode"] != "active-backup":
|
||||
raise ValidationError(
|
||||
name + "[" + str(idx) + "].controller",
|
||||
"bond only supports infiniband ports in active-backup mode",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue