-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ccruntime: processCcRuntimeDeleteRequest split
We are currently experiencing issues with finalizers hanging when deleting ccruntime. Initial debugging has pinpointed the problem to the processCcRuntimeDeleteRequest method. This method is large and has a cyclomatic complexity of 21. We should take this opportunity to use early returns to reduce nesting and simplify control flow. Additionally, this is moving the finalizer handling logic to its own method. This refactor should not change the current logic, only improve readability and maintainability. Related to #391. Signed-off-by: Beraldo Leal <bleal@redhat.com>
- Loading branch information
1 parent
402e795
commit 42aec49
Showing
1 changed file
with
88 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters