projects
/
pve-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ffe4449
)
cli: print_text_table: die if no property info not needed anymore
author
Thomas Lamprecht
<t.lamprecht@proxmox.com>
Wed, 27 Jun 2018 09:49:52 +0000
(11:49 +0200)
committer
Thomas Lamprecht
<t.lamprecht@proxmox.com>
Wed, 27 Jun 2018 09:49:52 +0000
(11:49 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/CLIHandler.pm
patch
|
blob
|
blame
|
history
diff --git
a/src/PVE/CLIHandler.pm
b/src/PVE/CLIHandler.pm
index 0502c4867987c119cef1046796e5941c12ae07a4..36eb5a883f8062fb491f25800979aa97037b3031 100644
(file)
--- 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};