From ffe4449cd573756d532f384775bb2f34e2f6a740 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 27 Jun 2018 11:44:49 +0200 Subject: [PATCH] cli: print_text_table: fix for poperties without schema Signed-off-by: Dietmar Maurer --- src/PVE/CLIHandler.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PVE/CLIHandler.pm b/src/PVE/CLIHandler.pm index b939a22..0502c48 100644 --- a/src/PVE/CLIHandler.pm +++ b/src/PVE/CLIHandler.pm @@ -464,7 +464,7 @@ sub print_text_table { for (my $i = 0; $i < $column_count; $i++) { my $prop = $props_to_print->[$i]; - my $propinfo = $returnprops->{$prop}; + my $propinfo = $returnprops->{$prop} // {}; die "undefined property '$prop'" if !$propinfo; my $title = $propinfo->{title} // $prop; -- 2.39.2