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 <aderum...@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@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
> 
> 
> 


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to