Skip to content

Comments

fix: current-ns not working#170

Open
NatureLR wants to merge 1 commit intoboz:masterfrom
NatureLR:master
Open

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

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