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

Paulo Ricardo Paz Vital pvital at linux.vnet.ibm.com
Mon Oct 5 15:54:42 UTC 2015


Hello Archana.

Please, provide more information about the issue and the solution on
commit message. 

Best regards,
Paulo.

On Mon, 2015-10-05 at 21:20 +0530, archus at linux.vnet.ibm.com wrote:
> 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')
> 




More information about the Kimchi-devel mailing list