[pve-devel] applied: [PATCH pve-network 1/2] zones: fix status
Fabian Grünbichler
f.gruenbichler at proxmox.com
Tue Jun 13 13:13:28 CEST 2023
On June 12, 2023 7:43 pm, Alexandre Derumier wrote:
> Vnets were wrongly displayed in the main tree because of this,
> and error was not set on zone
>
> Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
> ---
> src/PVE/Network/SDN/Zones.pm | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/PVE/Network/SDN/Zones.pm b/src/PVE/Network/SDN/Zones.pm
> index f8e40b1..7d70e49 100644
> --- a/src/PVE/Network/SDN/Zones.pm
> +++ b/src/PVE/Network/SDN/Zones.pm
> @@ -268,7 +268,7 @@ sub status {
> if (@{$err_msg} > 0) {
> $vnet_status->{$id}->{status} = 'error';
> $vnet_status->{$id}->{statusmsg} = join(',', @{$err_msg});
> - $zone_status->{$id}->{status} = 'error';
> + $zone_status->{$zone}->{status} = 'error';
> }
> }
>
> --
> 2.30.2
>
>
> _______________________________________________
> pve-devel mailing list
> pve-devel at lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
>
>
>
More information about the pve-devel
mailing list