[pve-devel] [PATCH container v4 1/1] api: rrd: add missing ds parameter for png graph
Aaron Lauterer
a.lauterer at proxmox.com
Thu Aug 28 14:58:10 CEST 2025
Otherwise, no png would be generated if that parameter is omitted
Signed-off-by: Aaron Lauterer <a.lauterer at proxmox.com>
---
src/PVE/API2/LXC.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
index 17035f4..1f89c87 100644
--- a/src/PVE/API2/LXC.pm
+++ b/src/PVE/API2/LXC.pm
@@ -720,7 +720,7 @@ __PACKAGE__->register_method({
my $path = "pve-vm-9.0/$param->{vmid}";
$path = "pve2-vm/$param->{vmid}" if !-e "/var/lib/rrdcached/db/${path}";
- return PVE::RRD::create_rrd_graph($path, $param->{timeframe}, $param->{cf});
+ return PVE::RRD::create_rrd_graph($path, $param->{timeframe}, $param->{ds}, $param->{cf});
},
});
--
2.47.2
More information about the pve-devel
mailing list