Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@NatureLR
Copy link

@mnaser
Copy link
Collaborator

mnaser commented Sep 12, 2025

@NatureLR can you let me know why reordering those functions fixes the issue?

@NatureLR
Copy link
Author

@NatureLR can you let me know why reordering those functions fixes the issue?

currentNS is always empty Because it assigns a value after createKubeClient

https://github.com/boz/kail/blob/master/cmd/kail/main.go#L245

CurrentNS is assigned a value in createKubeClient

https://github.com/boz/kail/blob/master/cmd/kail/main.go#L210

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 this pull request may close these issues.

--current-ns not working anymore

2 participants