[Libvirt-cim] [PATCH] [TEST] Fix potiential false positive with HostSystem 01

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Tue Jul 15 16:12:33 UTC 2008


>  >  
>  > -    except BaseException:
>  > -        logger.error(Globals.CIM_ERROR_ENUMERATE % 
> hostsystem.CIM_System)
>  > +        if system.CreationClassName != name and system.Name != host:
>            
>            I think either one fails, we should report error. Maybe we 
> can change it to below:
>            
>            if system.CreationClassName != name or system.Name != host:

Yep - good catch, thanks!

-- 
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list