From: Dietmar Maurer Date: Mon, 2 Jul 2018 08:09:52 +0000 (+0200) Subject: PVE::APIClient::Helper::print_ordered_result - correctly declare local var X-Git-Url: https://git.proxmox.com/?p=pve-client.git;a=commitdiff_plain;h=6f6263a7ddefe1e686b7787c908b40477c48a93e PVE::APIClient::Helper::print_ordered_result - correctly declare local var --- diff --git a/PVE/APIClient/Helpers.pm b/PVE/APIClient/Helpers.pm index 3e779b6..1503ec0 100644 --- a/PVE/APIClient/Helpers.pm +++ b/PVE/APIClient/Helpers.pm @@ -411,8 +411,7 @@ sub print_ordered_result { my $format = get_output_format(); my $param_order = extract_even_elements($property_list); - $options = {}; - + my $options = {}; PVE::APIClient::CLIFormatter::query_terminal_options($options); PVE::APIClient::CLIFormatter::print_api_result($format, $data, $result_schema, $param_order, $options);