1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 13:29:41 +02:00

feat(agent): support agent deployed on standalone engine endpoint (#2061)

This commit is contained in:
Anthony Lapenna 2018-07-23 11:31:21 +02:00 committed by GitHub
parent 3c6f6cf5bf
commit 7225619456
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 18 additions and 19 deletions

View file

@ -12,10 +12,7 @@ angular.module('portainer.docker')
};
if (type === 2) {
mode.provider = 'DOCKER_SWARM_MODE';
mode.role = 'MANAGER';
mode.agentProxy = true;
return mode;
}
if (!info.Swarm || _.isEmpty(info.Swarm.NodeID)) {