Otherwise, no png would be generated if that parameter is omitted
Signed-off-by: Aaron Lauterer <[email protected]>
---
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
_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel