Add the VM ID to the parameters for the get_backup_volumes() method. Like this, implementations can distinguish between owned and non-owned volumes.
Signed-off-by: Fiona Ebner <f.eb...@proxmox.com> --- src/PVE/AbstractConfig.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PVE/AbstractConfig.pm b/src/PVE/AbstractConfig.pm index 3d4fcbb..c307b71 100644 --- a/src/PVE/AbstractConfig.pm +++ b/src/PVE/AbstractConfig.pm @@ -555,7 +555,7 @@ sub get_replicatable_volumes { # }, # ] sub get_backup_volumes { - my ($class, $conf) = @_; + my ($class, $conf, $vmid) = @_; die "implement me - abstract method\n"; } -- 2.39.5 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel