You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by lu...@redhat.com on 2012/10/06 02:52:05 UTC

[PATCH 1/7] CIMI::Model::Collection: fix typo in entries method

From: David Lutterkort <lu...@redhat.com>

---
 server/lib/cimi/models/collection.rb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/server/lib/cimi/models/collection.rb b/server/lib/cimi/models/collection.rb
index 47c92f2..cae5e69 100644
--- a/server/lib/cimi/models/collection.rb
+++ b/server/lib/cimi/models/collection.rb
@@ -31,7 +31,8 @@ module CIMI::Model
     end
 
     def entries
-      self[entry_name]
+      self[self.class.entry_name]
+    end
     end
 
     def [](a)
-- 
1.7.7.6