mirror of https://github.com/portainer/portainer
15 lines
266 B
JavaScript
15 lines
266 B
JavaScript
|
angular.module('portainer.agent').service('AgentPingService', [
|
||
|
'AgentPing',
|
||
|
function AgentPingService(AgentPing) {
|
||
|
var service = {};
|
||
|
|
||
|
service.ping = ping;
|
||
|
|
||
|
function ping() {
|
||
|
return AgentPing.ping().$promise;
|
||
|
}
|
||
|
|
||
|
return service;
|
||
|
}
|
||
|
]);
|