deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@redhat.com
Subject [PATCH 1/7] CIMI::Model::Collection: fix typo in entries method
Date Sat, 06 Oct 2012 00:52:05 GMT
From: David Lutterkort <lutter@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


Mime
View raw message