Skip to content

Conversation

@mitch-hamm
Copy link
Contributor

closes: #127

@mitch-hamm mitch-hamm requested a review from a team as a code owner July 30, 2025 20:05
jung-kim
jung-kim previously approved these changes Jul 30, 2025
Comment on lines 478 to 481
if err != nil {
//If we can't find the CE, just return, as the CE is already deleted
return nil
}
Copy link

Choose a reason for hiding this comment

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

Sorry I should have been more specific, more like this. This is the pattern we use alot in apiserver

		if err != nil {
			if apierror.IsNotFound(err) {
				return nil, nil
			}
			return nil, err
		}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated

@mitch-hamm mitch-hamm merged commit 214d054 into main Aug 7, 2025
1 check passed
@mitch-hamm mitch-hamm deleted the mh/127 branch August 7, 2025 14:08
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.

Unable to destroy CloudEnvironment with deletion protection changes

4 participants