summaryrefslogtreecommitdiff
path: root/caddyconfig/httpcaddyfile
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2020-05-02 17:23:36 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2020-05-02 17:23:36 -0600
commit8e4266106034819fa0f4be8f0efbd628eb3e1634 (patch)
treece92801fb98aaa3ff0bd16575fded67b9fbfcb78 /caddyconfig/httpcaddyfile
parent86a4f2c9f4e7f85f2d59e2f1713aacf98ab8bc1a (diff)
caddytls: Finish upgrading to libdns DNS providers for ACME challenges
Until we finish the migration to the new acme library, we have to bring the solver type in-house. It's small and temporary.
Diffstat (limited to 'caddyconfig/httpcaddyfile')
-rw-r--r--caddyconfig/httpcaddyfile/builtins.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/caddyconfig/httpcaddyfile/builtins.go b/caddyconfig/httpcaddyfile/builtins.go
index b5a9341..4cc453e 100644
--- a/caddyconfig/httpcaddyfile/builtins.go
+++ b/caddyconfig/httpcaddyfile/builtins.go
@@ -202,7 +202,7 @@ func parseTLS(h Helper) ([]ConfigValue, error) {
acmeIssuer.CA = arg[0]
case "dns":
- if !h.Next() {
+ if !h.NextArg() {
return nil, h.ArgErr()
}
provName := h.Val()