-
Notifications
You must be signed in to change notification settings - Fork 33
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
filtered params before appending them to the vm.set call #172
filtered params before appending them to the vm.set call #172
Conversation
@princess-glimmr greatly appreciate your detailed bug report and this PR! I'll be giving this a look very soon. |
Apologies for the long delay. I've had some issues with the test environment that I run the acceptance tests in and I've been working to address that. I will be able to review this in more detail tomorrow. |
@princess-glimmr apologies again for the delay. I know how slow reviews can frustrate contributing to a new project :(. I think we should split this into two changes:
I want to do this in two steps is because the client code was recently moved to another repo. This is to facilitate a new k8s integration that @ringods is working on. I haven't liked the current xo-sdk-go API. I wrote portions of it when I was less experienced with go and I think it deserves a more holistic revamp rather than change how the vm's update functionality works. Since the VM update code already removes the
I'm not sure if you've tried to get the terraform acceptance tests running (which we will need in order to merge a change), but I can help with creating that test if you would like. Please let me know if you'd like to attempt that yourself or if you would like my help. I really do like how your proposed change simplifies the |
@princess-glimmr sorry this took so long to fix. I'm going to merge the fix for #171 with #179. I appreciate your work to filter out only the necessary changes before making the API call, but I think we should improve the API of the Xen orchestra go client first (#189). I'll be looking into that in the coming weeks. |
Hello there,
I created this PR containing a proposal, how passing the params to the vm.set call could also be realised. I already reported the issue in #171.
TBH, I think my current implementation still needs a bit of work, as this is my first time writing any go-lang code. If there are any problems or required style changes to my code, simply let me know & I will try to make the adjustments.
I would be happy to receive a review & which parts require further work.