fix(registry): add image tag resolution correctly when using cluster

This commit is contained in:
Mauricio Siu
2024-11-02 14:17:21 -06:00
parent fae97b1817
commit 766a25ccad
6 changed files with 79 additions and 37 deletions

View File

@@ -63,7 +63,6 @@ export const setupDockerContainerLogsWebSocketServer = (
}
stream
.on("close", () => {
console.log("Connection closed ✅ Container Logs");
client.end();
ws.close();
})
@@ -88,7 +87,6 @@ export const setupDockerContainerLogsWebSocketServer = (
privateKey: server.sshKey?.privateKey,
});
ws.on("close", () => {
console.log("Connection closed ✅, From Container Logs WS");
client.end();
});
} else {

View File

@@ -113,7 +113,6 @@ export const setupTerminalWebSocketServer = (
});
ws.on("close", () => {
console.log("Connection closed ✅");
stream.end();
});
},