[pve-devel] applied: [PATCH v2 guest-common 1/5] guesthelpers: move/add safe comparison functions from lxc and qemu

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Mar 10 11:19:55 CET 2020


On 2/19/20 5:07 PM, Oguz Bektas wrote:
> move the safe_string_ne and safe_num_ne functions to guesthelpers to
> remove duplicate code.
> 
> add the new safe_boolean_ne and typesafe_ne helper functions
> 
> also add them in @EXPORT_OK
> 
> Signed-off-by: Oguz Bektas <o.bektas at proxmox.com>
> ---
> 
> v1->v2:
> * add new helpers to @EXPORT_OK for easy use
> * add a die to typesafe_ne for safe abort
> 
>  PVE/GuestHelpers.pm | 53 +++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 53 insertions(+)
> 

applied, thanks!





More information about the pve-devel mailing list