diff options
author | Zaq? Wiedmann <zaquestion@gmail.com> | 2020-01-09 19:48:15 -0800 |
---|---|---|
committer | Matt Holt <mholt@users.noreply.github.com> | 2020-01-09 20:48:15 -0700 |
commit | 3dcc34d3418d3ef5835eac512a52226e47727cfb (patch) | |
tree | d181a5c9741379c1576dbf8d8272aa31a6e0e533 /context_test.go | |
parent | 871abf1053e99274e7336db3143ca5eb17013e38 (diff) |
caddyfile: advance cursor for claimed token in NewFromNextTokens() (#2971)
When we append a token to the new dispenser, we need to consume it in the parent, too; otherwise it gets scanned twice, which in this case messed up the nesting count which got decremented once too many times.
Diffstat (limited to 'context_test.go')
0 files changed, 0 insertions, 0 deletions