Commit 9e900d58 by Torkel Ödegaard

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

parent 38d34501
......@@ -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
};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment