deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@apache.org
Subject [3/3] git commit: CIMI: fix bug in retrieving resource_metadata collection
Date Wed, 26 Sep 2012 22:38:15 GMT
CIMI: fix bug in retrieving resource_metadata collection


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

Branch: refs/heads/master
Commit: a935cb9c2b27836038117cefb15630b19dece39a
Parents: 9e88803
Author: David Lutterkort <lutter@redhat.com>
Authored: Fri Sep 21 15:45:26 2012 -0700
Committer: David Lutterkort <lutter@redhat.com>
Committed: Wed Sep 26 15:23:04 2012 -0700

----------------------------------------------------------------------
 server/lib/cimi/collections/resource_metadata.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/a935cb9c/server/lib/cimi/collections/resource_metadata.rb
----------------------------------------------------------------------
diff --git a/server/lib/cimi/collections/resource_metadata.rb b/server/lib/cimi/collections/resource_metadata.rb
index 302f868..edd8d65 100644
--- a/server/lib/cimi/collections/resource_metadata.rb
+++ b/server/lib/cimi/collections/resource_metadata.rb
@@ -21,7 +21,7 @@ module CIMI::Collections
       operation :index do
         description "List all resource metadata defined for this provider"
         control do
-          resource_metadata = CIMI::Model::ResourceMetadataCollection.default(self)
+          resource_metadata = CIMI::Model::ResourceMetadata.list(self)
           respond_to do |format|
             format.xml{resource_metadata.to_xml}
             format.json{resource_metadata.to_json}


Mime
View raw message