You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2012/10/11 10:33:28 UTC

[7/7] git commit: CIMI::Model::Collection: fix typo in entries method

CIMI::Model::Collection: fix typo in entries method

TrackedAt: http://tracker.deltacloud.org/patch/c3cfb45157e92c34476a0231962161f709a74d0c


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

Branch: refs/heads/master
Commit: f968b23dce9e9ac1904542adcd4bec7bab5f41f3
Parents: bbfb5ff
Author: David Lutterkort <lu...@redhat.com>
Authored: Fri Oct 5 17:05:38 2012 -0700
Committer: Michal fojtik <mf...@redhat.com>
Committed: Thu Oct 11 10:31:06 2012 +0200

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


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/f968b23d/server/lib/cimi/models/collection.rb
----------------------------------------------------------------------
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)