You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2012/07/09 14:42:21 UTC

git commit: EC2: Fixed displaying of samples in metrics

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 <mf...@redhat.com>
Authored: Mon Jul 9 14:41:59 2012 +0200
Committer: Michal fojtik <mf...@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 }