[pve-devel] r5691 - pve-manager/pve2/lib/PVE/API2
svn-commits at proxmox.com
svn-commits at proxmox.com
Mon Mar 14 06:57:13 CET 2011
Author: dietmar
Date: 2011-03-14 06:57:13 +0100 (Mon, 14 Mar 2011)
New Revision: 5691
Modified:
pve-manager/pve2/lib/PVE/API2/Cluster.pm
Log:
fix rrd path
Modified: pve-manager/pve2/lib/PVE/API2/Cluster.pm
===================================================================
--- pve-manager/pve2/lib/PVE/API2/Cluster.pm 2011-03-14 05:43:50 UTC (rev 5690)
+++ pve-manager/pve2/lib/PVE/API2/Cluster.pm 2011-03-14 05:57:13 UTC (rev 5691)
@@ -136,7 +136,7 @@
shared => $scfg->{shared},
};
- if (my $d = $rrd->{"pve-storage/$node/$storeid"}) {
+ if (my $d = $rrd->{"pve2-storage/$node/$storeid"}) {
$entry->{maxdisk} = $d->[1];
$entry->{disk} = $d->[2];
}
@@ -196,7 +196,7 @@
type => $data->{type},
};
- if (my $d = $rrd->{"pve-vm/$vmid"}) {
+ if (my $d = $rrd->{"pve2-vm/$vmid"}) {
$entry->{uptime} = $d->[0];
$entry->{name} = $d->[1];
More information about the pve-devel
mailing list