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

fix: IKubernetesClient.Get<> not retrieving namespaced resources due to parameter swap #511

Merged
merged 1 commit into from
Jan 26, 2023

Conversation

georgevella
Copy link
Contributor

@georgevella georgevella commented Jan 25, 2023

While using the latest version of KubeOps,KubernetesClient, I've noticed that retrieval of kubernetes resources (ConfigMaps and a Deployment) was not working when passing a namespace.

After further investigation, I've noticed that the underlying GenericClient<>.ReadNamespacedAsync() function had swapped parameters which was causing retrieval of resources to fail.

Copy link
Owner

@buehler buehler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Thank you. I just saw, that I did not make a test for that.

@buehler buehler enabled auto-merge (squash) January 26, 2023 13:07
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.

None yet

2 participants