Added method for getting history from cache.

This commit is contained in:
Alexander Zobnin
2016-01-31 19:00:30 +03:00
parent 5b3fe1559c
commit e532b3c37f
2 changed files with 47 additions and 1 deletions

View File

@@ -140,7 +140,7 @@ function (angular, _, dateMath, utils, metricFunctions) {
} else {
// Use history
getHistory = self.zabbixAPI.getHistory(items, from, to).then(function(history) {
getHistory = self.zabbixCache.getHistory(items, from, to).then(function(history) {
return self.queryProcessor.handleHistory(history, addHostName);
});
}