Am 14.10.25 um 2:27 PM schrieb Maximiliano Sandoval:
> This is handled now by the class' __snapshot_freeze.
> 
> Signed-off-by: Maximiliano Sandoval <[email protected]>
> ---
>  src/PVE/Replication.pm | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/src/PVE/Replication.pm b/src/PVE/Replication.pm
> index ba4c2c1..1b31ae2 100644
> --- a/src/PVE/Replication.pm
> +++ b/src/PVE/Replication.pm
> @@ -376,7 +376,6 @@ sub replicate {
>  
>      # freeze filesystem for data consistency
>      if ($freezefs) {
> -        $logfunc->("freeze guest filesystem");
>          $guest_class->__snapshot_freeze($vmid, 0);
>      }
>  
> @@ -395,7 +394,6 @@ sub replicate {
>  
>      # thaw immediately
>      if ($freezefs) {
> -        $logfunc->("thaw guest filesystem");
>          $guest_class->__snapshot_freeze($vmid, 1);
>      }
>  

Using $logfunc->() makes those messages be part of the replication log,
while the ones with 'print' in the $guest_class will not be.


_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to