summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/celmatcher.go
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2023-04-25 23:54:42 +0800
committerGitHub <noreply@github.com>2023-04-25 09:54:42 -0600
commit3443a8a056c7fe1a67cbf64f7e7f8acdc3762416 (patch)
treefe256e7ee151aeebba2d6f65a574defba7710552 /modules/caddyhttp/celmatcher.go
parent2943c41884278ec5fc44bcb55d2b9b088838cdc2 (diff)
fix some comments (#5508)
Signed-off-by: cui fliter <imcusg@gmail.com>
Diffstat (limited to 'modules/caddyhttp/celmatcher.go')
-rw-r--r--modules/caddyhttp/celmatcher.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/celmatcher.go b/modules/caddyhttp/celmatcher.go
index fbc5f5a..cc87146 100644
--- a/modules/caddyhttp/celmatcher.go
+++ b/modules/caddyhttp/celmatcher.go
@@ -496,7 +496,7 @@ func celMatcherStringMacroExpander(funcName string) parser.MacroExpander {
}
}
-// celMatcherStringMacroExpander validates that the macro is called a single
+// celMatcherJSONMacroExpander validates that the macro is called a single
// map literal argument.
//
// The following function call is returned: <funcName>(request, arg)