summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/matchers.go
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2019-12-12 14:31:20 -0700
committerMatthew Holt <mholt@users.noreply.github.com>2019-12-12 14:31:20 -0700
commit87b6cf470baacd659cd20815de2804ae4a31df7f (patch)
tree2faea4d119909790d0b1a489c0ea46b34f44dd52 /modules/caddyhttp/matchers.go
parentf935458e3e30a8d9f47f37ad35fe9c546b841fa3 (diff)
Minor improvements; comments and shorter placeholders & module IDs
Diffstat (limited to 'modules/caddyhttp/matchers.go')
-rw-r--r--modules/caddyhttp/matchers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/matchers.go b/modules/caddyhttp/matchers.go
index ea715c5..eaa27f0 100644
--- a/modules/caddyhttp/matchers.go
+++ b/modules/caddyhttp/matchers.go
@@ -596,7 +596,7 @@ func (m MatchRemoteIP) Match(r *http.Request) bool {
// CaddyModule returns the Caddy module information.
func (MatchStarlarkExpr) CaddyModule() caddy.ModuleInfo {
return caddy.ModuleInfo{
- ID: "http.matchers.starlark_expr", // TODO: Rename to 'starlark'?
+ ID: "http.matchers.starlark",
New: func() caddy.Module { return new(MatchStarlarkExpr) },
}
}