From 6ea0cd2238fda7b328acae4389380b65d7fa2df9 Mon Sep 17 00:00:00 2001 From: Colin Gagnaire Date: Fri, 26 Apr 2019 16:44:05 +0200 Subject: [PATCH] fix azure monitor getmetrics debug output --- cloud/azure/management/monitor/mode/getmetrics.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cloud/azure/management/monitor/mode/getmetrics.pm b/cloud/azure/management/monitor/mode/getmetrics.pm index ce199760e..2a77be569 100644 --- a/cloud/azure/management/monitor/mode/getmetrics.pm +++ b/cloud/azure/management/monitor/mode/getmetrics.pm @@ -149,7 +149,7 @@ sub check_options { sub manage_selection { my ($self, %options) = @_; - my ($results, $raw_results, $command_line) = $options{custom}->azure_get_metrics( + my ($results, $raw_results) = $options{custom}->azure_get_metrics( resource => $self->{az_resource}, resource_group => $self->{az_resource_group}, resource_type => $self->{az_resource_type}, @@ -175,7 +175,6 @@ sub manage_selection { } } - $self->{output}->output_add(long_msg => sprintf("Command line: %s", $command_line), debug => 1); $self->{output}->output_add(long_msg => sprintf("Raw data:\n%s", Dumper($raw_results)), debug => 1); }