httpcaddyfile: Add missing DNS challenge check for acme_dns#7270
httpcaddyfile: Add missing DNS challenge check for acme_dns#7270mholt merged 3 commits intocaddyserver:masterfrom
acme_dns#7270Conversation
acme_dnsacme_dns
|
Please add an adapter test to cover this case (see other |
acme_dnsacme_dns
ac1adb9 to
108ac9d
Compare
|
@francislavoie Good point—after testing (and adding the test case), I found that the The new issue doesn't just affect |
|
Yeah makes sense re mock, go ahead and add a simple optional string field to it, useful for testing for sure. |
108ac9d to
d36bad4
Compare
|
@francislavoie Cool, just updated. Also reordered the commits to make a bit more sense. LMK if you'd prefer them squashed etc. |
|
Commit order etc doesn't matter, we squash-merge when the PR is done |
francislavoie
left a comment
There was a problem hiding this comment.
Looks perfect to me, thank you!
…erver#7270) * add optional argument to `mock` DNS provider * preserve local DNS challenge settings when `acme_dns` is specified * add missing check for `acme_dns`
I was getting the following spurious error:
This brings the logic in line with the intended behaviour implied by the error message. (If the current behaviour is correct, then the error message should be changed accordingly.)
Assistance Disclosure
No AI was used.