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

handle error improvement #59

Merged
merged 3 commits into from
Mar 2, 2022
Merged

handle error improvement #59

merged 3 commits into from
Mar 2, 2022

Conversation

yifeijin
Copy link
Contributor

@yifeijin yifeijin commented Mar 2, 2022

Description

This PR fixes a couple minor bugs.

  • In daemonset/deployment deletion, return error if fails
  • Check for not found error in more places
  • After csm obj gets finalizer added, continue instead of return
  • Fix unit tests for above changes

GitHub Issues

List the GitHub issues impacted by this PR:

GitHub Issue #
dell/csm#159

Checklist:

  • I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
  • I have verified that new and existing unit tests pass locally with my changes
  • I have not allowed coverage numbers to degenerate
  • I have maintained at least 90% code coverage
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have maintained backward compatibility

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

  • Unit Test
  • Manually install and uninstall

abhi16394
abhi16394 previously approved these changes Mar 2, 2022
@gallacher
Copy link
Contributor

@yifeijin, Please complete the PR checklist in the description and outline the testing that was performed. Thank you!

@nb950 nb950 requested a review from abhi16394 March 2, 2022 20:25
@nb950 nb950 merged commit 63c2e6c into main Mar 2, 2022
@rensyct rensyct deleted the error_handle branch July 18, 2022 12:17
ChristianAtDell added a commit that referenced this pull request Oct 15, 2024
* handle error improvement

* fix logging but

* pass ctx to finalizeradd/move
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.

5 participants