Skip to content

imrpove: replacing confusing UpdateControl method #1762

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

Merged
merged 7 commits into from
Feb 9, 2023
Merged

Conversation

csviri
Copy link
Collaborator

@csviri csviri commented Feb 8, 2023

No description provided.

@csviri csviri self-assigned this Feb 8, 2023
@csviri csviri force-pushed the update-control-patch branch from 151d8ef to 0480cae Compare February 8, 2023 13:18
T customResource) {
return new UpdateControl<>(customResource, true, true, true);
}

/**
* Market for removal, because of confusing name. It does not patch the resource just updates it.
* This method is same as updateResourceAndPatchStatus.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Use link directive here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

added

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 8, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 5 Code Smells

64.5% 64.5% Coverage
0.0% 0.0% Duplication

@csviri csviri merged commit 559afa9 into next Feb 9, 2023
@csviri csviri deleted the update-control-patch branch February 9, 2023 07:46
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.

PUT instead of PATCH used for UpdateControl.patchResourceAndStatus(resource)
2 participants