[libvirt] [PATCH 08/14] secret: Change variable names for list traversals

Pavel Hrdina phrdina at redhat.com
Tue Apr 25 08:47:48 UTC 2017


On Mon, Apr 24, 2017 at 02:00:17PM -0400, John Ferlan wrote:
> Rather than 'nuuids' it should be 'maxuuids' and rather than 'got'
> it should be 'nuuids'.  Alter the logic of the list traversal to
> utilize those names.
> 
> Also alter the cleanup in virSecretObjListGetUUIDs to return on success
> and handle failure with a -1 return instead of the if (ret < 0) logic.

Even this logic change is minimal it's better to have the rename changes
in a separate commit.

ACK anyway

Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170425/ce6efeca/attachment-0001.sig>


More information about the libvir-list mailing list