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

implement reconcileDiscardJob #69

Merged
merged 5 commits into from
Nov 25, 2024
Merged

implement reconcileDiscardJob #69

merged 5 commits into from
Nov 25, 2024

Conversation

ushitora-anqou
Copy link
Contributor

No description provided.

The first step to implement reconcileDiscardJob.

Signed-off-by: Ryotaro Banno <ryotaro.banno@gmail.com>
This commit is the 2nd step for implementing reconcileDiscardJob

Signed-off-by: Ryotaro Banno <ryotaro.banno@gmail.com>
This commit is the 4th step for implementing reconcileDiscardJob.

Signed-off-by: Ryotaro Banno <ryotaro.banno@gmail.com>
This commit should be the last step for implementing
reconcileDiscardJob.

Signed-off-by: Ryotaro Banno <ryotaro.banno@gmail.com>
@ushitora-anqou ushitora-anqou marked this pull request as ready for review November 22, 2024 08:01

result, err := mbr.reconcileDiscardJob(ctx, backup, &snapshotTarget{})
Expect(err).NotTo(HaveOccurred())
Expect(result.Requeue).To(BeFalse())
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you also verify discard PV, PVC, Jobs aren't really created? It's to distinguish the discard-was-completed case and the did-not-create-anything case.

Signed-off-by: Ryotaro Banno <ryotaro.banno@gmail.com>
@ushitora-anqou
Copy link
Contributor Author

I've amended and force-pushed my last commit. I'm waiting for the CI to pass.

@satoru-takeuchi satoru-takeuchi merged commit 0b01029 into main Nov 25, 2024
3 checks passed
@satoru-takeuchi satoru-takeuchi deleted the support-discard-job branch November 25, 2024 03:36
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