From: Thomas Lamprecht Date: Wed, 27 Jun 2018 09:49:52 +0000 (+0200) Subject: cli: print_text_table: die if no property info not needed anymore X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=commitdiff_plain;h=ead1edfffd80e4679bf8f00902d3a56a9abf305a cli: print_text_table: die if no property info not needed anymore Signed-off-by: Thomas Lamprecht --- diff --git a/src/PVE/CLIHandler.pm b/src/PVE/CLIHandler.pm index 0502c48..36eb5a8 100644 --- a/src/PVE/CLIHandler.pm +++ b/src/PVE/CLIHandler.pm @@ -465,7 +465,6 @@ sub print_text_table { for (my $i = 0; $i < $column_count; $i++) { my $prop = $props_to_print->[$i]; my $propinfo = $returnprops->{$prop} // {}; - die "undefined property '$prop'" if !$propinfo; my $title = $propinfo->{title} // $prop; my $cutoff = $propinfo->{print_width} // $propinfo->{maxLength};