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 typo in metrics collection
Date Tue, 10 Jul 2012 13:43:08 GMT
Updated Branches:
  refs/heads/master 5470471eb -> 3202650f9


EC2: Fixed typo in metrics collection


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

Branch: refs/heads/master
Commit: 3202650f9671f341979c5ec0d6248798e950f967
Parents: 5470471
Author: Michal Fojtik <mfojtik@redhat.com>
Authored: Tue Jul 10 15:43:41 2012 +0200
Committer: Michal fojtik <mfojtik@redhat.com>
Committed: Tue Jul 10 15:43:41 2012 +0200

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


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


Mime
View raw message