projects
/
pve-client.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5101e47
)
PVE::APIClient::Helper::print_ordered_result - correctly declare local var
author
Dietmar Maurer
<dietmar@proxmox.com>
Mon, 2 Jul 2018 08:09:52 +0000
(10:09 +0200)
committer
Dietmar Maurer
<dietmar@proxmox.com>
Mon, 2 Jul 2018 08:09:52 +0000
(10:09 +0200)
PVE/APIClient/Helpers.pm
patch
|
blob
|
blame
|
history
diff --git
a/PVE/APIClient/Helpers.pm
b/PVE/APIClient/Helpers.pm
index 3e779b6924b976e3132c3019607117b257e59157..1503ec0c90428ee08ec63e4cb2e8005b2faaae1c 100644
(file)
--- 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);
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);
PVE::APIClient::CLIFormatter::query_terminal_options($options);
PVE::APIClient::CLIFormatter::print_api_result($format, $data, $result_schema, $param_order, $options);