You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
portainer/app/docker/services/swarmService.js

13 lines
318 B

import { getSwarm } from '@/react/docker/proxy/queries/useSwarm';
angular.module('portainer.docker').factory('SwarmService', SwarmServiceFactory);
/* @ngInject */
function SwarmServiceFactory(AngularToReact) {
const { useAxios } = AngularToReact;
return {
swarm: useAxios(getSwarm), // stack service
};
}