소스 검색

Fix variable name for graphite basic auth.

John Hobbs 12 년 전
부모
커밋
2ee1063485
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/app/services/graphite/graphiteDatasource.js

+ 1 - 1
src/app/services/graphite/graphiteDatasource.js

@@ -129,7 +129,7 @@ function (angular, _, $, config, kbn, moment) {
       if (this.basicAuth) {
         options.withCredentials = true;
         options.headers = options.headers || {};
-        options.headers.Authorization = 'Basic ' + config.graphiteBasicAuth;
+        options.headers.Authorization = 'Basic ' + this.basicAuth;
       }
 
       options.url = this.url + options.url;