Repository navigation
refactor!: Remove the deprecated override in wait() method from DataVolume class - #2884
Conversation
|
Caution Review failedThe pull request is closed. No actionable comments were generated in the recent review. WalkthroughThe deprecated ChangesDataVolume wait method
Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Refactor Suggested reviewers: Merge Risk:
|
|
Report bugs in Issues Welcome! 🎉This pull request will be automatically processed with the following features: 🔄 Automatic Actions
📋 Available CommandsPR Status Management
Review & Approval
Testing & Validation
Cherry-pick Operations
Branch Management
Label Management
✅ Merge RequirementsThis PR will be automatically approved when the following conditions are met:
📊 Review ProcessApprovers and ReviewersApprovers:
Reviewers:
Available Labels
AI Features
Security Checks
💡 Tips
For more information, please refer to the project documentation or contact the maintainers. |
PR Summary by QodoRestore inherited DataVolume.wait() existence behavior
AI Description
Merge Risk
|
Code Review by Qodo
1.
|
|
/verified |
rnetser
left a comment
There was a problem hiding this comment.
please fix the pr description; this repo is a standlone one and is not tied to openshift-virt-tests one.
|
@rnetser I have removed the mention to our tests repo |
|
/lgtm |
|
/lgtm |
|
Clean rebase detected — no code changes compared to previous head ( |
Short description:
The intention is to allow
DataVolume.wait()to fall back to the parentResource.wait()method.More details:
What this PR does / why we need it:
Deprecate DataVolume.wait() in favor of wait_for_dv_success() to fix bad practice and prevent bugs.
Which issue(s) this PR fixes:
Special notes for reviewer:
This PR is part of this task, and continues the work started in #2613
Bug:
Summary by CodeRabbit
wait_for_dv_success()or the inherited wait behavior instead. The removed method previously supported waiting for the resource to exist or waiting for its success and PVC binding.