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
Use try with resources in kubernetes-examples #2444
Comments
/assign |
@Shivkumar13 : polite ping, Are you still working on this issue? |
@rohanKanojia apologies for the delay, I will update my findings in a day. |
@rohanKanojia Is this issue still relevant? If yes, I would like to work on it. |
Yes, it's still relevant. You might want to check with @Shivkumar13 if he is still working on it or not. There are lots of quickstarts that need to be updated, maybe you both can collaborate on refactoring these :-) |
@Shivkumar13 if you are working on it can you give an update on which all quickstart have you worked already and which all are still pending? so that I can start working on this issue. |
@HeroicHitesh I will raise a PR by tomorrow, need some cross checks |
I have the fix ready, while raising PR, seeing some old git changes also popping up in this Fix. |
@Shivkumar13 any updates? You can send a PR for the files you have modified and I'll do the rest. Or if you are facing any issue related to Git/GitHub, let us know, maybe we can help you out |
@HeroicHitesh already raised a PR, day before yesterday See: #2567 |
@Shivkumar13 My bad I couldn't see any linked PR so thought you are stuck in that rebase thing. Now, from the PR I can see these 2 are fixed and the remaining are pending. Do you have other fixes ready or can I start working on them? |
@HeroicHitesh : Thanks for pointing this out, I've updated the issue description. |
@HeroicHitesh I am not having other ready at the moment, but I can work on them, in the meantime, feel free to work on those.
|
@rohanKanojia I have sent a PR for the following files:
|
I think Marc updated all of the samples in #2688 . It's no longer relevant. |
We're not closing client in some of the examples after using it, we should either close it with
client.close()
or useKubernetesClient
like this:Here are some places where it's not closed properly:
There are some more occurrences listed in Sonar Bug report. You can have a look at it here.
The text was updated successfully, but these errors were encountered: