diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2020-03-22 23:13:08 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2020-03-22 23:13:08 -0600 |
commit | e211491407d076a4a347fa3f0756a23888c0984d (patch) | |
tree | 75c6d2ca7753dba6f754869596a6f9457defd424 /caddyconfig | |
parent | 6e2fabb2a46812dee42842c13439e1a0238aa40b (diff) |
httpcaddyfile: Fix little typo (Next -> NextArg)
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 2c5a2d7..9be9fb1 100644 --- a/caddyconfig/httpcaddyfile/builtins.go +++ b/caddyconfig/httpcaddyfile/builtins.go @@ -317,7 +317,7 @@ func parseTLS(h Helper) ([]ConfigValue, error) { func parseRoot(h Helper) (caddyhttp.MiddlewareHandler, error) { var root string for h.Next() { - if !h.Next() { + if !h.NextArg() { return nil, h.ArgErr() } root = h.Val() |