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

svn-commit at lists.omniti.com svn-commit at lists.omniti.com
Fri May 21 21:25:12 EDT 2010


Author: jdixon
Date: 2010-05-21 21:25:11 -0400 (Fri, 21 May 2010)
New Revision: 391

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

Modified: branches/resmon2/lib/Core/Pf/Labels.pm
===================================================================
--- branches/resmon2/lib/Core/Pf/Labels.pm	2010-05-20 20:38:29 UTC (rev 390)
+++ branches/resmon2/lib/Core/Pf/Labels.pm	2010-05-22 01:25:11 UTC (rev 391)
@@ -85,6 +85,11 @@
                 $metrics->{$1}->{"states"} += $9;
             }
         }
+        for my $queue (keys %$metrics) {
+            for my $key (keys %{$metrics->{$queue}}) {
+                $metrics->{$queue}->{$key} = [$metrics->{$queue}->{$key}, 'L'];
+            }
+        }
     } else {
         die "Unknown platform: $osname\n";
     }



More information about the Resmon-devel mailing list