add missing 'stackName' param to return value (#206)

Maybe a mishap, but this was causing issues with opening the correct terminals for each container

Co-authored-by: Thales <thcd@cock.li>
This commit is contained in:
ThalesC 2023-11-28 20:04:30 -03:00 committed by GitHub
parent 06dbc3fa28
commit 71446b9eb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -203,7 +203,7 @@ export function getContainerTerminalName(container : string) {
} }
export function getContainerExecTerminalName(stackName : string, container : string, index : number) { export function getContainerExecTerminalName(stackName : string, container : string, index : number) {
return "container-exec-" + container + "-" + index; return "container-exec-" + stackName + "-" + container + "-" + index;
} }
export function copyYAMLComments(doc : Document, src : Document) { export function copyYAMLComments(doc : Document, src : Document) {