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:
parent
3c6f6cf5bf
commit
7225619456
11 changed files with 18 additions and 19 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue