]> git.proxmox.com Git - pve-cluster.git/commitdiff
fix #1472: fix rrd file path
authorDominik Csapak <d.csapak@proxmox.com>
Mon, 7 Aug 2017 14:04:24 +0000 (16:04 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 8 Aug 2017 06:44:12 +0000 (08:44 +0200)
upstream rrd-tools changed the syntax for the perl binding,
we now have to supply '-' as the path despite what the documentation
says (it says to supply an empty path, what we did)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
data/PVE/Cluster.pm

index 38c5fdbd845c4edd8fe6c6b7ae5928099de9237d..2f46754a466ea40927cd0ca922488b1ee7d4f235 100644 (file)
@@ -736,7 +736,7 @@ sub create_rrd_graph {
     push @args, '--full-size-mode';
 
     # we do not really store data into the file
-    my $res = RRDs::graphv('', @args);
+    my $res = RRDs::graphv('-', @args);
 
     my $err = RRDs::error;
     die "RRD error: $err\n" if $err;