Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zjy365 committed Apr 25, 2024
1 parent faca2aa commit 66565ae
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ const PodFile = ({
width={'88px'}
variant={'outline'}
onClick={() => {
onClose();
onInternalClose();
}}
>
{t('Cancel')}
Expand Down
11 changes: 10 additions & 1 deletion frontend/providers/applaunchpad/src/utils/kubeFileSystem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,16 @@ export class KubeFileSystem {
reject(error.toString());
});

this.k8sExec.exec(namespace, podName, containerName, command, stdout, stderr, stdin, !!stdin);
await this.k8sExec.exec(
namespace,
podName,
containerName,
command,
stdout,
stderr,
stdin,
!!stdin
);

if (stdin) {
stdin.on('end', () => {
Expand Down

0 comments on commit 66565ae

Please sign in to comment.