+ fix log_analytics api-version param (#2890)

This commit is contained in:
Simon Bomm 2021-06-18 11:48:37 +02:00 committed by GitHub
parent f5a8f4166d
commit 17aae37252
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -632,7 +632,7 @@ sub azure_get_log_analytics_set_url {
my $encoded_timespan = $uri->encode($options{timespan});
my $url = $self->{management_endpoint} . '/v1/workspaces/' . $options{workspace_id} . '/query?query=' . $encoded_query;
$url .= '&timespan=' . $encoded_timespan if (defined($encoded_timespan));
$url .= '?api-version=' . $self->{api_version};
$url .= '&api-version=' . $self->{api_version};
return $url;
}