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
Add a test for PR # 685 #686
Comments
@purpleidea |
@purpleidea |
@JefMasereel can probably point to the issue he found that this patch fixed... After our memory is refreshed, we can use TestRes (and import it elsewhere) or do something different. Does this help? |
Original issue is here actually: #684 |
@purpleidea Anyway, by "...our memory is refreshed", do you mean clearing the registeredResources? I think we can create a new file of
Wdyt? Thanks. |
@purpleidea |
@neverbeenthisweeb Sure!
|
Oh, and for articles: https://github.com/purpleidea/mgmt/blob/master/docs/on-the-web.md You might want to read the oldest one by me, and maybe the first language one. There are some videos of conference talks you can watch if you're interested. Newer ones are more current and more useful. |
The Hetzner resource that I'm working on was failing type unification due to a circular type structure in one of the hcloud-go values that I store in a private resource field. @frebib added this patch to skip type checks for unexported fields, which solved the issues I was having. purpleidea has listed all the relevant issues by now, not sure if I can help beyond that at the moment. |
@purpleidea @JefMasereel Thanks for the help guys. |
I see that the implementation was revised in aff6331: Lines 279 to 283 in aff6331
Is this issue still relevant? |
@ofekatr Thank you for the PR, I sent an initial review. |
#685 (comment)
Would be great to add a simple test for this commit and also to double check that the test fails if that commit is reverted.
Commit: bf7e454
Thanks to @frebib for the nice patch!
The text was updated successfully, but these errors were encountered: