Re: [pve-devel] [PATCH v2 common] print_text_table: handle undefined values in comparision

2020-04-28 Thread Oğuz Bektaş
Tested-by: Oguz Bektas > Fabian Ebner hat am 28. April 2020 10:18 geschrieben: > > > by introducing a safe_compare helper. Fixes warnings, e.g. > pvesh get /nodes//network > would print "use of uninitialized"-warnings if there are inactive > network interfaces, because for those, 'active' is

[pve-devel] [PATCH v2 common] print_text_table: handle undefined values in comparision

2020-04-28 Thread Fabian Ebner
by introducing a safe_compare helper. Fixes warnings, e.g. pvesh get /nodes//network would print "use of uninitialized"-warnings if there are inactive network interfaces, because for those, 'active' is undef. Signed-off-by: Fabian Ebner --- Changes from v1: * don't change sort_key depending