fixed small variable name issue with pull request #55 (jshint warning)

This commit is contained in:
Torkel Ödegaard
2014-02-01 08:53:37 +01:00
parent 38d3450160
commit 9e900d5885

View File

@@ -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
};
}