-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
provider/vsphere: deduplicate code in createVirtualMachine and deployVirtualMachine #6659
provider/vsphere: deduplicate code in createVirtualMachine and deployVirtualMachine #6659
Conversation
@thetuxkeeper |
Yes, I'm not done yet. just wanted to share it as early as possible, so nobody starts something like that and we do the same work. |
@thetuxkeeper I understand ... lol |
Acceptance test results with a
|
Rebased to master and fixed conflicts. I hope that's better to understand and easier to refactor since some duplicate code was removed. I tried not to change too much that it's easier to review and I don't have the golang knowledge/experience to refactor it from zero :)
|
@stack72 bro I owe u multiple pints ;) |
…equire_full_window_and_locked * upstream/master: (665 commits) merged createVirtualMachine and deployVirtualMachine to setupVirtualMachine (hashicorp#6659) Update CHANGELOG.md provider/fastly: add support for custom VCL configuration (supersedes hashicorp#6587) (hashicorp#6662) Remove CHANGELOG entry for backported 0.6.17 feature Update CHANGELOG.md provider/vsphere: wait for network enhanced (hashicorp#6377) Update CHANGELOG.md Update CHANGELOG.md Update CHANGELOG.md docs: clarify an internal-plugins header Fixes an vet error. Update CHANGELOG.md provider/aws: Support for Redshift Cluster encryption using a KMS key (hashicorp#6712) provider/aws: Randomize key names in KMS alias test Include the list of allowed values for AWS auto scaling group termination policies (hashicorp#6710) website: docs for azurerm custom images Update CHANGELOG.md Godeps: rm dup github.com/ryanuber/columnize Add note about paid training provider/aws: Fix crash in ElastiCache param group ...
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
In preparation for easier implementation of #6520 I try to remove as much duplicate code as possible in
createVirtualMachine
anddeployVirtualMachine
.I try to get to a point where:
Overall goal is to make it easier to keep the two functions in sync.
Sharing it as WIP PR to avoid duplicate work
cc @chrislovecnm