From 00e99df20952ac3e10377277d7fe13c85de4cb81 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Fri, 28 Feb 2020 13:38:12 -0700 Subject: httpcaddyfile: Treat no matchers as 0-len path matchers (fix #3100) + a couple other minor changes from linter --- caddyconfig/httpcaddyfile/httptype.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'caddyconfig/httpcaddyfile/httptype.go') diff --git a/caddyconfig/httpcaddyfile/httptype.go b/caddyconfig/httpcaddyfile/httptype.go index 8c10a53..89375db 100644 --- a/caddyconfig/httpcaddyfile/httptype.go +++ b/caddyconfig/httpcaddyfile/httptype.go @@ -1012,11 +1012,6 @@ func (c counter) nextGroup() string { return name } -type matcherSetAndTokens struct { - matcherSet caddy.ModuleMap - tokens []caddyfile.Token -} - type namedCustomLog struct { name string log *caddy.CustomLog -- cgit v1.2.3