瀏覽代碼

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;