mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Remove console logs
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
ea603c734e
commit
78b05baba2
@ -27,8 +27,6 @@ const shellApiRequestInjectable = getInjectable({
|
|||||||
const nodeName = searchParams.get("node");
|
const nodeName = searchParams.get("node");
|
||||||
const shellToken = searchParams.get("shellToken");
|
const shellToken = searchParams.get("shellToken");
|
||||||
|
|
||||||
console.log("got shell api request", { tabId, clusterId: cluster?.id, nodeName });
|
|
||||||
|
|
||||||
if (!tabId || !cluster || !shellApiAuthenticator.authenticate(cluster.id, tabId, shellToken)) {
|
if (!tabId || !cluster || !shellApiAuthenticator.authenticate(cluster.id, tabId, shellToken)) {
|
||||||
socket.write("Invalid shell request");
|
socket.write("Invalid shell request");
|
||||||
socket.end();
|
socket.end();
|
||||||
|
|||||||
@ -222,7 +222,6 @@ export abstract class ShellSession {
|
|||||||
|
|
||||||
this.running = true;
|
this.running = true;
|
||||||
shellProcess.onData(data => {
|
shellProcess.onData(data => {
|
||||||
console.log("sending", { data });
|
|
||||||
this.send({ type: TerminalChannels.STDOUT, data });
|
this.send({ type: TerminalChannels.STDOUT, data });
|
||||||
});
|
});
|
||||||
shellProcess.onExit(({ exitCode }) => {
|
shellProcess.onExit(({ exitCode }) => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user