mirror of
https://github.com/portainer/portainer.git
synced 2025-07-25 16:29:44 +02:00
11 lines
237 B
JavaScript
11 lines
237 B
JavaScript
import angular from 'angular';
|
|
|
|
angular.module('portainer.agent').service('AgentPingService', AgentPingService);
|
|
|
|
function AgentPingService(AgentPing) {
|
|
return { ping };
|
|
|
|
function ping() {
|
|
return AgentPing.ping().$promise;
|
|
}
|
|
}
|