Re: [PATCH 0/3] use virStringParseYesNo helper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 10/16/19 3:51 PM, Andrea Bolognani wrote:
On Wed, 2019-10-16 at 10:39 +0800, Mao Zhongyi wrote:
A function virStringParseYesNo was added to convert
string 'yes' to true and 'no' to false, so use this
helper to replace 'STREQ(.*, \"yes\")' and
'STREQ(.*, \"no\")' as it allows us to drop several
repetitive if-then-else string->bool conversion blocks.

Cc: abologna@xxxxxxxxxx
Cc: berrange@xxxxxxxxxx
Cc: crobinso@xxxxxxxxxx
Cc: gene@xxxxxxxxx
Cc: g.sho1500@xxxxxxxxx
Cc: jdenemar@xxxxxxxxxx
Cc: laine@xxxxxxxxx
Cc: mkletzan@xxxxxxxxxx
Cc: phrdina@xxxxxxxxxx

Please do *not* CC random libvirt developer when sending patches to
the list: we are all subscribed, and someone will get to your patches
eventually; if you haven't gotten any replies after two weeks or so,
then it's perfectly fine to ping but once again do that on the list,
not targeting specific individuals.


Ok, I got it, thanks for the clarification.

Thanks,
Mao


--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux