[pve-devel] [PATCH manager] api: backup: remove unneeded call of rrd_dump

Aaron Lauterer a.lauterer at proxmox.com
Tue Jul 1 14:16:56 CEST 2025


$rrd is never used within this function, therefore we can easily remove
it.

Signed-off-by: Aaron Lauterer <a.lauterer at proxmox.com>
---
 PVE/API2/Backup.pm | 1 -
 1 file changed, 1 deletion(-)

diff --git a/PVE/API2/Backup.pm b/PVE/API2/Backup.pm
index 42e9c418..27f5a14c 100644
--- a/PVE/API2/Backup.pm
+++ b/PVE/API2/Backup.pm
@@ -667,7 +667,6 @@ __PACKAGE__->register_method({
         my $vzconf = cfs_read_file('vzdump.cron');
         my $all_jobs = $vzconf->{jobs} || [];
         my $job;
-        my $rrd = PVE::Cluster::rrd_dump();
 
         for my $j (@$all_jobs) {
             if ($j->{id} eq $param->{id}) {
-- 
2.39.5





More information about the pve-devel mailing list