14 lines
424 B
JavaScript
14 lines
424 B
JavaScript
'use strict';
|
|
|
|
angular.module('ffffng').factory('NodeInformationRetrievalJob', function (MonitoringService, Logger) {
|
|
return {
|
|
run: function () {
|
|
MonitoringService.retrieveNodeInformation(function (err) {
|
|
if (err) {
|
|
Logger.tag('monitoring', 'information-retrieval').error('Error retrieving node data:', err);
|
|
}
|
|
});
|
|
}
|
|
};
|
|
});
|