chore: fix inconsistent function name in comment (#7174)

Signed-off-by: youzichuan <youzichuan6@outlook.com>
This commit is contained in:
youzichuan 2025-08-13 15:05:54 +08:00 committed by GitHub
parent 4bfc3b95b5
commit 09b53a753c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -159,7 +159,7 @@ func (ops *HeaderOps) Provision(_ caddy.Context) error {
return nil
}
// containsCaddyPlaceholders checks if the string contains Caddy placeholder syntax {key}
// containsPlaceholders checks if the string contains Caddy placeholder syntax {key}
func containsPlaceholders(s string) bool {
openIdx := strings.Index(s, "{")
if openIdx == -1 {