diff options
Diffstat (limited to 'caddyconfig')
-rw-r--r-- | caddyconfig/httpcaddyfile/builtins.go | 2 |
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() |