-
Notifications
You must be signed in to change notification settings - Fork 339
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
vmware_guest_disk: Use functions from module_utils #914
vmware_guest_disk: Use functions from module_utils #914
Conversation
@Akasurde @sky-joker @Tomorrow9 I have a feeling that I could have consolidated more code here. But I don't want to change too much in one PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks.
Thanks for reviewing @Tomorrow9! Since you approved and CI succeeded, I don't think I'll have to wait for a second opinion from @Akasurde or @sky-joker and will add the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks, @mariolenz for the patch!
Refactor vmware guest controller Depends-On: #967 SUMMARY Remove duplicate code from vmware_guest_controller by using functions from module_utils.vm_device_helper.PyVmomiDeviceHelper. Also, move some definitions from vmware_guest_controller and vmware_guest_disk to module_utils.vm_device_helper.PyVmomiDeviceHelper. ISSUE TYPE Feature Pull Request COMPONENT NAME vmware_guest_controller vmware_guest_disk ADDITIONAL INFORMATION Follow-up to PR #914 Reviewed-by: Diane Wang <None> Reviewed-by: Mario Lenz <[email protected]>
SUMMARY
Remove duplicate code from
vmware_guest_disk
by using the functions frommodule_utils.vm_device_helper. PyVmomiDeviceHelper
.ISSUE TYPE
COMPONENT NAME
vmware_guest_disk
ADDITIONAL INFORMATION
Follow-up to PR #909