[Resmon-devel] [resmon commit] r380 - in branches/resmon2/lib/Core: . Pf

svn-commit at lists.omniti.com svn-commit at lists.omniti.com
Thu May 13 10:52:12 EDT 2010


Author: jdixon
Date: 2010-05-13 10:52:12 -0400 (Thu, 13 May 2010)
New Revision: 380

Modified:
   branches/resmon2/lib/Core/Cpu.pm
   branches/resmon2/lib/Core/MysqlStatus.pm
   branches/resmon2/lib/Core/Pf/Labels.pm
   branches/resmon2/lib/Core/Pf/Queues.pm
   branches/resmon2/lib/Core/Pf/Status.pm
Log:
ah, that feels better

Modified: branches/resmon2/lib/Core/Cpu.pm
===================================================================
--- branches/resmon2/lib/Core/Cpu.pm	2010-05-13 14:50:35 UTC (rev 379)
+++ branches/resmon2/lib/Core/Cpu.pm	2010-05-13 14:52:12 UTC (rev 380)
@@ -82,7 +82,7 @@
 
     %metrics = map { $_ => shift(@values) } @keys;
 
-    return { %metrics };
+    return \%metrics;
 };
 
 1;

Modified: branches/resmon2/lib/Core/MysqlStatus.pm
===================================================================
--- branches/resmon2/lib/Core/MysqlStatus.pm	2010-05-13 14:50:35 UTC (rev 379)
+++ branches/resmon2/lib/Core/MysqlStatus.pm	2010-05-13 14:52:12 UTC (rev 380)
@@ -72,7 +72,7 @@
         $metrics{$result->{'Variable_name'}} = $result->{'Value'};
     }
 
-    return { %metrics };
+    return \%metrics;
 };
 
 1;

Modified: branches/resmon2/lib/Core/Pf/Labels.pm
===================================================================
--- branches/resmon2/lib/Core/Pf/Labels.pm	2010-05-13 14:50:35 UTC (rev 379)
+++ branches/resmon2/lib/Core/Pf/Labels.pm	2010-05-13 14:52:12 UTC (rev 380)
@@ -90,7 +90,7 @@
         die "Unknown platform: $osname";
     }
 
-    return { %metrics };
+    return \%metrics;
 };
 
 1;

Modified: branches/resmon2/lib/Core/Pf/Queues.pm
===================================================================
--- branches/resmon2/lib/Core/Pf/Queues.pm	2010-05-13 14:50:35 UTC (rev 379)
+++ branches/resmon2/lib/Core/Pf/Queues.pm	2010-05-13 14:52:12 UTC (rev 380)
@@ -87,7 +87,7 @@
         die "Unknown platform: $osname";
     }
 
-    return { %metrics };
+    return \%metrics;
 };
 
 1;

Modified: branches/resmon2/lib/Core/Pf/Status.pm
===================================================================
--- branches/resmon2/lib/Core/Pf/Status.pm	2010-05-13 14:50:35 UTC (rev 379)
+++ branches/resmon2/lib/Core/Pf/Status.pm	2010-05-13 14:52:12 UTC (rev 380)
@@ -128,7 +128,7 @@
         die "Unknown platform: $osname";
     }
 
-    return { %metrics };
+    return \%metrics;
 };
 
 1;



More information about the Resmon-devel mailing list