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

kubectl-pod_logs breaks on non-POSIX Mac shell #16

Open
joedobner opened this issue Oct 28, 2021 · 0 comments
Open

kubectl-pod_logs breaks on non-POSIX Mac shell #16

joedobner opened this issue Oct 28, 2021 · 0 comments

Comments

@joedobner
Copy link

OSX bash doesn't like ,,

TMC02YJ3FXJGH6:kubefunc jdobner1$ RUN=(RUN Run run)
TMC02YJ3FXJGH6:kubefunc jdobner1$ echo ${RUN[1],,}
Run
TMC02YJ3FXJGH6:kubefunc jdobner1$ echo $SHELL
/bin/bash

This results in

Select a Pod: 112
ERROR: Pod totally-real-eks-pod-name-5cd48dd956-7ktlb is not running

Because the status is Running

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant