RRD data is stored in a new directory. In order to get use this new key
in the request to rrdcached.

Signed-off-by: Tobias Böhm <t...@robhost.de>
---
 src/PVE/API2/LXC.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
index 2e116d8..a23cdf8 100644
--- a/src/PVE/API2/LXC.pm
+++ b/src/PVE/API2/LXC.pm
@@ -520,7 +520,7 @@ __PACKAGE__->register_method({
        my ($param) = @_;
 
        return PVE::Cluster::create_rrd_graph(
-           "pve2-vm/$param->{vmid}", $param->{timeframe},
+           "pve5.0-vm/$param->{vmid}", $param->{timeframe},
            $param->{ds}, $param->{cf});
 
     }});
@@ -563,7 +563,7 @@ __PACKAGE__->register_method({
        my ($param) = @_;
 
        return PVE::Cluster::create_rrd_data(
-           "pve2-vm/$param->{vmid}", $param->{timeframe}, $param->{cf});
+           "pve5.0-vm/$param->{vmid}", $param->{timeframe}, $param->{cf});
     }});
 
 __PACKAGE__->register_method({
-- 
2.11.0

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to