[Kimchi-devel] [PATCH 2/2] Issue #737 : fix to remove multiple calls for resource lookup

archus at linux.vnet.ibm.com archus at linux.vnet.ibm.com
Mon Oct 5 15:50:23 UTC 2015


From: Archana Singh <archus at linux.vnet.ibm.com>

Signed-off-by: Archana Singh <archus at linux.vnet.ibm.com>
---
 src/wok/control/base.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/wok/control/base.py b/src/wok/control/base.py
index 5c5c95f..912ed16 100644
--- a/src/wok/control/base.py
+++ b/src/wok/control/base.py
@@ -163,7 +163,7 @@ class Resource(object):
                                  self.role_key, self.admin_methods)
 
         try:
-            self.lookup()
+            self.info = {}
             if not self.is_authorized():
                 raise UnauthorizedError('WOKAPI0009E')
 
-- 
2.1.0




More information about the Kimchi-devel mailing list