better variable naming

parent 01f3d728
......@@ -130,7 +130,7 @@ function (angular, _, kbn) {
});
}
InfluxDatasource.prototype.doInfluxRequest = function(query, name) {
InfluxDatasource.prototype.doInfluxRequest = function(query, label) {
var _this = this;
var deferred = $q.defer();
......@@ -151,7 +151,7 @@ function (angular, _, kbn) {
};
return $http(options).success(function (data) {
data.label = name;
data.label = label;
deferred.resolve(data);
});
}, 10);
......
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