mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
better variable naming
This commit is contained in:
parent
01f3d728ef
commit
02696c8bca
@ -130,7 +130,7 @@ function (angular, _, kbn) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
InfluxDatasource.prototype.doInfluxRequest = function(query, name) {
|
InfluxDatasource.prototype.doInfluxRequest = function(query, label) {
|
||||||
var _this = this;
|
var _this = this;
|
||||||
var deferred = $q.defer();
|
var deferred = $q.defer();
|
||||||
|
|
||||||
@ -151,7 +151,7 @@ function (angular, _, kbn) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return $http(options).success(function (data) {
|
return $http(options).success(function (data) {
|
||||||
data.label = name;
|
data.label = label;
|
||||||
deferred.resolve(data);
|
deferred.resolve(data);
|
||||||
});
|
});
|
||||||
}, 10);
|
}, 10);
|
||||||
|
Loading…
Reference in New Issue
Block a user