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

Fix backupschedule spec propagation #280

Merged

Conversation

akinfermo
Copy link
Collaborator

This change fixes an issue that was preventing updates to backupschedule specs from getting propagated to CronAnything specs. For some reason, updating an entire CronAnything object in operations.go after updating the status of that same CronAnything object was causing new updates to the spec to disappear. To avoid this issue, we directly update CronAnything specs from backupschedule_controller.go.

b/251830497

Change-Id: I3a5afd914fa50481ebbec4e350234aad86dadc2f

This change fixes an issue that was preventing updates to backupschedule specs from getting propagated to CronAnything specs. For some reason, updating an entire CronAnything object in operations.go after updating the status of that same CronAnything object was causing new updates to the spec to disappear. To avoid this issue, we directly update CronAnything specs from backupschedule_controller.go.

b/251830497

Change-Id: I3a5afd914fa50481ebbec4e350234aad86dadc2f
@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: akinfermo, kurt-google

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@akinfermo akinfermo merged commit 9a5ee75 into GoogleCloudPlatform:main Nov 22, 2022
@akinfermo akinfermo deleted the fix/backupschedule-spec branch November 22, 2022 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants