-
Notifications
You must be signed in to change notification settings - Fork 7
updating a DNS record does not work as expected #3
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
Comments
I've just spent time looking at this. There appears to be a couple of things going on:
I had a go at fixing the first problem (tests are green but the implementation isn't correct) before uncovering the second one (run the tests and you'll see the failure). In this case I kind of feel like Mergo complicates/confuses things and I'd be tempted to remove it entirely, but I don't want to make any opinionated changes without checking if this seems sensible first. @soniah have you got any thoughts on this? |
Hi Sam @samcrang Thanks for your very detailed bug report - I wish all bug reports were like this! I hadn't noticed outstanding issues on this repo - my father died in May :-( and I've been rather busy since then dealing with his estate. I've created branch mergo_case_issue in my repo with a possible fix -- what do you think? I haven't thought fully about removing mergo yet (and it's Monday morning at work). It's always good to remove libraries - could this merging be done easily in my code? Or were you thinking of using a different library? cc: @JeanMertz |
I'm sorry to hear about father--I understand entirely if working on this repo isn't something that's a priority for you right now. I'm happy to take some time looking at getting fixes for the issues. I had just thought about re-implementing the specific parts of Mergo that this project uses/cares about (with some additional magic to deal with the case-insensitivity), however, your fix is probably the most pragmatic thing to do right now. I'd like to add a bit more test coverage around the merging though--I'm happy to do this and submit a pull request. Also I was hoping to refactor the tests so we can remove the custom test HTTP server and replace it with This would all be with the ultimate aim to get more coverage of the DNSMadeEasy API so we can ultimately start Terraforming all the other good stuff that DME provide. Again I'm happy to work on this and submit PRs. Does this seem reasonable? I don't want to dump a whole load of changes into your project with checking it seems sensible first! :) Thanks, |
Hi Sam, Thanks for all your work 😀 I think go for better test coverage first, then The other issue - I haven't looked at it yet. But you're welcome to have a Sonia. On 17 November 2015 at 03:51, Sam Crang notifications@github.com wrote:
|
see: hashicorp/terraform#2241
The text was updated successfully, but these errors were encountered: