* [pve-devel] [PATCH pve-network] controllers: evpn : correctly limit the number of controllers to max 1
@ 2022-12-27 7:17 Alexandre Derumier
2022-12-30 14:37 ` [pve-devel] applied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Alexandre Derumier @ 2022-12-27 7:17 UTC (permalink / raw)
To: pve-devel
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
---
PVE/Network/SDN/Controllers/EvpnPlugin.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/Network/SDN/Controllers/EvpnPlugin.pm b/PVE/Network/SDN/Controllers/EvpnPlugin.pm
index 74ec018..d09f2a9 100644
--- a/PVE/Network/SDN/Controllers/EvpnPlugin.pm
+++ b/PVE/Network/SDN/Controllers/EvpnPlugin.pm
@@ -271,7 +271,7 @@ sub on_update_hook {
my $controller = $controller_cfg->{ids}->{$id};
next if $controller->{type} ne "evpn";
$controllernb++;
- die "only 1 global evpn controller can be defined" if $controllernb > 1;
+ die "only 1 global evpn controller can be defined" if $controllernb >= 1;
}
}
--
2.30.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* [pve-devel] applied: [PATCH pve-network] controllers: evpn : correctly limit the number of controllers to max 1
2022-12-27 7:17 [pve-devel] [PATCH pve-network] controllers: evpn : correctly limit the number of controllers to max 1 Alexandre Derumier
@ 2022-12-30 14:37 ` Thomas Lamprecht
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2022-12-30 14:37 UTC (permalink / raw)
To: Proxmox VE development discussion, Alexandre Derumier
Am 27/12/2022 um 08:17 schrieb Alexandre Derumier:
> Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
> ---
> PVE/Network/SDN/Controllers/EvpnPlugin.pm | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>
applied, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-12-30 14:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-27 7:17 [pve-devel] [PATCH pve-network] controllers: evpn : correctly limit the number of controllers to max 1 Alexandre Derumier
2022-12-30 14:37 ` [pve-devel] applied: " Thomas Lamprecht
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal