Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shell not working if working directory not exists. #125

Open
ossipsasha opened this issue Mar 15, 2020 · 0 comments
Open

Shell not working if working directory not exists. #125

ossipsasha opened this issue Mar 15, 2020 · 0 comments

Comments

@ossipsasha
Copy link

@ossipsasha ossipsasha commented Mar 15, 2020

Describe the bug
"Pod shell" and "Node shell" console hangs if terminal working directory not exists.

To Reproduce
Steps to reproduce the behavior:

  1. Create "xxx" local directory
  2. Go to cluster settings
  3. Set "Terminal Working Directory" as "xxx"
  4. Delete directory "xxx"
  5. Go to nodes or pods. Select any and press "Exec" button
  6. Console just hangs on "Connecting..."

Expected behavior
Probably it should use some default working directory.
Or show user friendly error to set proper working directory.

Environment (please complete the following information):

  • Lens Version: 3.01
  • OS: Windows
  • Installation method (e.g. snap or AppImage in Linux): Setup.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.