[Libvirt-cim] [PATCH] Eliminate error status on EAFP when no pool link exists

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Thu Sep 11 17:43:16 UTC 2008


Dan Smith wrote:
> # HG changeset patch
> # User Dan Smith <danms at us.ibm.com>
> # Date 1221064059 25200
> # Node ID 6a8e14dc94847ac449a65a28f83e6f8ee2b22fbd
> # Parent  5d114b296a8228d1e591e1908fbecd4a96152e5e
> Eliminate error status on EAFP when no pool link exists
> 
> I think that the proper behavior is to just not return anything instead of an
> error.  Since not being affiliated with a pool isn't necessarily an error, we
> shouldn't kill an entire associaton operation as a result.
> 

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




More information about the Libvirt-cim mailing list