mirror of
https://github.com/louislam/dockge.git
synced 2024-11-24 03:44:03 +00:00
Join the terminal only if it is managed by Dockge
This commit is contained in:
parent
b6141b18f5
commit
58fb332a59
1 changed files with 3 additions and 1 deletions
|
@ -75,7 +75,9 @@ export class DockerSocketHandler extends SocketHandler {
|
||||||
|
|
||||||
const stack = Stack.getStack(server, stackName);
|
const stack = Stack.getStack(server, stackName);
|
||||||
|
|
||||||
|
if (stack.isManagedByDockge) {
|
||||||
stack.joinCombinedTerminal(socket);
|
stack.joinCombinedTerminal(socket);
|
||||||
|
}
|
||||||
|
|
||||||
callback({
|
callback({
|
||||||
ok: true,
|
ok: true,
|
||||||
|
|
Loading…
Reference in a new issue