+ fix log_analytics api-version param (#2890)
This commit is contained in:
parent
f5a8f4166d
commit
17aae37252
|
@ -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 .= '×pan=' . $encoded_timespan if (defined($encoded_timespan));
|
||||
$url .= '?api-version=' . $self->{api_version};
|
||||
$url .= '&api-version=' . $self->{api_version};
|
||||
|
||||
return $url;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue