You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by lu...@apache.org on 2012/09/27 00:38:15 UTC

[3/3] git commit: CIMI: fix bug in retrieving resource_metadata collection

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 <lu...@redhat.com>
Authored: Fri Sep 21 15:45:26 2012 -0700
Committer: David Lutterkort <lu...@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}