Re: [pve-devel] [PATCH common] print_text_table: sort by leftmost column with no undefined value

2020-04-27 Thread Fabian Ebner
On 27.04.20 13:27, Thomas Lamprecht wrote: On 4/27/20 11:41 AM, Fabian Ebner wrote: This restores the behavior for sort_key as it's described in the comment for print_text_table. Fixes warnings, e.g. pvesh get /nodes//network would print "use of uninitialized"-warnings if there are inactive net

Re: [pve-devel] [PATCH common] print_text_table: sort by leftmost column with no undefined value

2020-04-27 Thread Thomas Lamprecht
On 4/27/20 11:41 AM, Fabian Ebner wrote: > This restores the behavior for sort_key as it's described in the > comment for print_text_table. > > Fixes warnings, e.g. > pvesh get /nodes//network > would print "use of uninitialized"-warnings if there are inactive > network interfaces, because for tho

[pve-devel] [PATCH common] print_text_table: sort by leftmost column with no undefined value

2020-04-27 Thread Fabian Ebner
This restores the behavior for sort_key as it's described in the comment for print_text_table. 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 --