deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject git commit: Fix for DTACLOUD-171 - display blob metadata for xml format (a recent commit broke this)
Date Wed, 28 Mar 2012 07:09:28 GMT
Updated Branches:
  refs/heads/master 59659586a -> 2a1788edd


Fix for DTACLOUD-171 - display blob metadata for xml format
(a recent commit broke this)

https://issues.apache.org/jira/browse/DTACLOUD-171


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

Branch: refs/heads/master
Commit: 2a1788eddb6be822747f0022713db3cf85b8c5f2
Parents: 5965958
Author: marios <marios@redhat.com>
Authored: Mon Mar 26 14:03:54 2012 +0300
Committer: marios <marios@redhat.com>
Committed: Wed Mar 28 10:08:13 2012 +0300

----------------------------------------------------------------------
 server/views/blobs/show.xml.haml |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/2a1788ed/server/views/blobs/show.xml.haml
----------------------------------------------------------------------
diff --git a/server/views/blobs/show.xml.haml b/server/views/blobs/show.xml.haml
index 686d793..34b9cca 100644
--- a/server/views/blobs/show.xml.haml
+++ b/server/views/blobs/show.xml.haml
@@ -5,8 +5,7 @@
       - haml_tag(attribute, :<) do
         - haml_concat @blob.send(attribute)
   %user_metadata
-    - if @blob.kind_of? Hash
-      - @blob.user_metadata.each do |k, v|
-        %entry{:key => k}
-          #{cdata v}
+    - @blob.user_metadata.each do |k, v|
+      %entry{:key => k}
+        #{cdata v}
   %content{:href => bucket_url(@blob.bucket) + '/' + @blob.id + '/content'}


Mime
View raw message