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

Reduce the changes of error and npe: Check for variable Existence #43

Open
arkaprovob opened this issue Oct 17, 2023 · 0 comments
Open

Comments

@arkaprovob
Copy link
Contributor

Description:
In our code, we should consider adding a check to ensure cfgMapData exists before using it. This check can help enhance the reliability of our code. We should apply this logic wherever applicable in our codebase.

Benefits:

  • Avoid potential null pointer exceptions.

Further details
to know more please refer to this review

Implementation:

  1. Add a check to verify the existence of cfgMapData before using it.
  2. Apply the same logic wherever applicable in the codebase.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants