-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Assignment to entry in nil map
error when shell to default container
#2585
Comments
Same for me, just installed k9s via a brew and got this errors while trying to enter shell.
|
nobbs
added a commit
to nobbs/k9s
that referenced
this issue
Mar 4, 2024
This commit fixes a bug introcuded in v0.32.0 where the shell-in and attach commands would fail with a nil pointer exception for pods with more than one container. Resolves derailed#2585
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When I tried to shell connect to the default container of a pod, that is, on the Pods page pressing "S", the program crashed. This seems new after upgrading to
v3.20.0
.To Reproduce
Steps to reproduce the behavior:
Historical Documents
Error log:
Expected behavior
k9s selects the default container and establish a shell to it.
Screenshots
Not applicable
Versions (please complete the following information):
Additional context
If I remember correctly, in
3.19.x
or before versions there was no such bug.The text was updated successfully, but these errors were encountered: