Skip to content

fix: current-ns not working - #170

Open
NatureLR wants to merge 1 commit into
boz:masterfrom
NatureLR:master
Open

fix: current-ns not working#170
NatureLR wants to merge 1 commit into
boz:masterfrom
NatureLR:master

Conversation

@NatureLR

Copy link
Copy Markdown

@mnaser

mnaser commented Sep 12, 2025

Copy link
Copy Markdown
Collaborator

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

@NatureLR

Copy link
Copy Markdown
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