deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject git commit: EC2: Fixed displaying of samples in metrics
Date Mon, 09 Jul 2012 12:42:21 GMT
Updated Branches:
  refs/heads/master b9746d3fe -> 714c474d2


EC2: Fixed displaying of samples in metrics


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/714c474d
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/714c474d
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/714c474d

Branch: refs/heads/master
Commit: 714c474d240945ec07f39873bac148ce966a2246
Parents: b9746d3
Author: Michal Fojtik <mfojtik@redhat.com>
Authored: Mon Jul 9 14:41:59 2012 +0200
Committer: Michal fojtik <mfojtik@redhat.com>
Committed: Mon Jul 9 14:41:59 2012 +0200

----------------------------------------------------------------------
 server/views/metrics/show.xml.haml |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/714c474d/server/views/metrics/show.xml.haml
----------------------------------------------------------------------
diff --git a/server/views/metrics/show.xml.haml b/server/views/metrics/show.xml.haml
index 9867134..6e5f8c9 100644
--- a/server/views/metrics/show.xml.haml
+++ b/server/views/metrics/show.xml.haml
@@ -6,4 +6,7 @@
   %properties
     -@metric.properties.each do |prop|
       -haml_tag(prop.name, :<) do
-        - haml_concat prop.values
+        - prop.values.each do |p|
+          %sample
+            - p.each do |k, v|
+              %property{ :name => k, :value => v }


Mime
View raw message