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

Simplify updateBucketCR #307

Merged
merged 1 commit into from
Dec 19, 2024
Merged

Simplify updateBucketCR #307

merged 1 commit into from
Dec 19, 2024

Conversation

nolancon
Copy link
Collaborator

@nolancon nolancon commented Dec 17, 2024

Description of your changes

The bucketDeepCopy parameter for the callback function is not used anywhere. Removing it as it unnecessarily complicates the logic and makes it difficult to follow.

I have:

  • Run make reviewable to ensure this PR is ready for review.
  • Run make ceph-chainsaw to validate these changes against Ceph. This step is not always necessary. However, for changes related to S3 calls it is sensible to validate against an actual Ceph cluster. Localstack is used in our CI Chainsaw suite for convenience and there can be disparity in S3 behaviours betwee it and Ceph. See docs/TESTING.md for information on how to run tests against a Ceph cluster.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

Existing chainsaw tests/CI - no S3 calls affected.

@nolancon nolancon marked this pull request as ready for review December 17, 2024 18:53
@nolancon nolancon requested a review from Shunpoco December 19, 2024 14:33
@nolancon nolancon merged commit e463cf9 into main Dec 19, 2024
10 checks passed
@nolancon nolancon deleted the simplify-update-bucket-cr branch December 19, 2024 15:56
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.

2 participants