some indication on what was broken would be nice..

AFAICT, storage_migrate fixes this to a boolean anyway, and this is only 
passed to storage_migrate, so.. !?

On June 22, 2021 2:18 pm, Wolfgang Bumiller wrote:
> Signed-off-by: Wolfgang Bumiller <w.bumil...@proxmox.com>
> ---
> No changes to v1.
> 
>  src/PVE/LXC/Migrate.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/PVE/LXC/Migrate.pm b/src/PVE/LXC/Migrate.pm
> index 3cd895d..ce1f7dd 100644
> --- a/src/PVE/LXC/Migrate.pm
> +++ b/src/PVE/LXC/Migrate.pm
> @@ -146,7 +146,7 @@ sub phase1 {
>       }
>  
>       $volhash->{$volid}->{ref} = defined($snapname) ? 'snapshot' : 'config';
> -     $volhash->{$volid}->{snapshots} = defined($snapname);
> +     $volhash->{$volid}->{snapshots} = 1 if defined($snapname);
>  
>       my ($path, $owner) = PVE::Storage::path($self->{storecfg}, $volid);
>  
> -- 
> 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