mirror of https://github.com/portainer/portainer
8 lines
320 B
JavaScript
8 lines
320 B
JavaScript
|
angular.module('portainer.rest')
|
||
|
.factory('Version', ['$resource', 'DOCKER_ENDPOINT', 'EndpointProvider', function VersionFactory($resource, DOCKER_ENDPOINT, EndpointProvider) {
|
||
|
'use strict';
|
||
|
return $resource(DOCKER_ENDPOINT + '/:endpointId/version', {
|
||
|
endpointId: EndpointProvider.endpointID
|
||
|
});
|
||
|
}]);
|