[Resmon-devel] [resmon commit] r392 - branches/resmon2/lib/Core

svn-commit at lists.omniti.com svn-commit at lists.omniti.com
Sat May 22 20:17:18 EDT 2010


Author: jdixon
Date: 2010-05-22 20:17:18 -0400 (Sat, 22 May 2010)
New Revision: 392

Modified:
   branches/resmon2/lib/Core/Cpu.pm
Log:
explicitly set type

Modified: branches/resmon2/lib/Core/Cpu.pm
===================================================================
--- branches/resmon2/lib/Core/Cpu.pm	2010-05-22 01:25:11 UTC (rev 391)
+++ branches/resmon2/lib/Core/Cpu.pm	2010-05-23 00:17:18 UTC (rev 392)
@@ -81,6 +81,9 @@
     }
 
     %metrics = map { $_ => shift(@values) } @keys;
+    for my $key (keys %metrics) {
+        $metrics{$key} = [$metrics{$key}, 'I'];
+    }
 
     return \%metrics;
 };



More information about the Resmon-devel mailing list