From: David Lutterkort <[email protected]>

Right now, objects from the client just return nil when a completely
undefined method is invoked on them. With this change, they produce the
proper exception complaining about a missing method.

Signed-off-by: David Lutterkort <[email protected]>
---
 client/lib/base_object.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/client/lib/base_object.rb b/client/lib/base_object.rb
index 43d7ee5..f6ef149 100644
--- a/client/lib/base_object.rb
+++ b/client/lib/base_object.rb
@@ -109,7 +109,7 @@ module DeltaCloud
         # First of all search throught array for method name
         m = search_for_method(method_name)
         if m.nil?
-          return nil
+          super
         else
           # Call appropriate handler for method
           method_handler(m, args)
-- 
1.7.4.4

Reply via email to