summaryrefslogtreecommitdiff
path: root/caddyconfig/httpcaddyfile/httptype.go
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2020-02-28 13:38:12 -0700
committerMatthew Holt <mholt@users.noreply.github.com>2020-02-28 13:38:12 -0700
commit00e99df20952ac3e10377277d7fe13c85de4cb81 (patch)
tree071139b06c5418eda1654b8462fc39034f0d89d7 /caddyconfig/httpcaddyfile/httptype.go
parentc83d40ccd43c8692061732974bd02fb388acd425 (diff)
httpcaddyfile: Treat no matchers as 0-len path matchers (fix #3100)
+ a couple other minor changes from linter
Diffstat (limited to 'caddyconfig/httpcaddyfile/httptype.go')
-rw-r--r--caddyconfig/httpcaddyfile/httptype.go5
1 files changed, 0 insertions, 5 deletions
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