mirror of
https://github.com/louislam/dockge.git
synced 2024-11-23 19:34:04 +00:00
Fix
This commit is contained in:
parent
95c958ba9f
commit
b0e7f5aff5
1 changed files with 2 additions and 2 deletions
|
@ -101,7 +101,7 @@ export class TerminalSocketHandler extends SocketHandler {
|
|||
log.debug("interactiveTerminal", "Service name: " + serviceName);
|
||||
|
||||
// Get stack
|
||||
const stack = Stack.getStack(server, stackName);
|
||||
const stack = await Stack.getStack(server, stackName);
|
||||
stack.joinContainerTerminal(socket, serviceName, shell);
|
||||
|
||||
callback({
|
||||
|
@ -151,7 +151,7 @@ export class TerminalSocketHandler extends SocketHandler {
|
|||
throw new ValidationError("Stack name must be a string.");
|
||||
}
|
||||
|
||||
const stack = Stack.getStack(server, stackName);
|
||||
const stack = await Stack.getStack(server, stackName);
|
||||
await stack.leaveCombinedTerminal(socket);
|
||||
|
||||
callback({
|
||||
|
|
Loading…
Reference in a new issue