From 87b6cf470baacd659cd20815de2804ae4a31df7f Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Thu, 12 Dec 2019 14:31:20 -0700 Subject: Minor improvements; comments and shorter placeholders & module IDs --- modules/caddyhttp/matchers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/caddyhttp/matchers.go') 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) }, } } -- cgit v1.2.3