Fix templatig issue, when no values returned, closes #354

This commit is contained in:
Alexander Zobnin
2017-02-11 16:26:23 +03:00
parent eca809679d
commit 94c24e9be4
8 changed files with 17 additions and 17 deletions

View File

@@ -314,7 +314,7 @@ class ZabbixAPIDatasource {
}
return result.then(metrics => {
return metrics.map(formatMetric);
return _.map(metrics, formatMetric);
});
}