mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fixed small variable name issue with pull request #55 (jshint warning)
This commit is contained in:
@@ -12,8 +12,8 @@ function (angular, _, config) {
|
||||
var elasticSearchUrlForMetricIndex = config.elasticsearch + '/' + config.grafana_metrics_index + '/';
|
||||
var httpOptions = {};
|
||||
if (config.elasticsearchBasicAuth) {
|
||||
options.withCredentials = true;
|
||||
options.headers = {
|
||||
httpOptions.withCredentials = true;
|
||||
httpOptions.headers = {
|
||||
"Authorization": "Basic " + config.elasticsearchBasicAuth
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user