Fixed linter errors.
This commit is contained in:
@@ -34,6 +34,7 @@ function (angular, _, dateMath) {
|
||||
|
||||
// Initialize cache service
|
||||
this.zabbixCache = new ZabbixCache(this.zabbixAPI);
|
||||
console.log(this.zabbixCache);
|
||||
|
||||
/**
|
||||
* Test connection to Zabbix API
|
||||
|
||||
@@ -7,11 +7,9 @@ function (angular, _) {
|
||||
|
||||
var module = angular.module('grafana.services');
|
||||
|
||||
module.factory('ZabbixCache', function($q, backendSrv) {
|
||||
module.factory('ZabbixCache', function($q) {
|
||||
|
||||
function ZabbixCache(zabbixAPI, lifetime) {
|
||||
var self = this;
|
||||
|
||||
this.zabbixAPI = zabbixAPI;
|
||||
this.lifetime = lifetime;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user