chore: fix inconsistent function name in comment (#7174)
Signed-off-by: youzichuan <youzichuan6@outlook.com>
This commit is contained in:
parent
4bfc3b95b5
commit
09b53a753c
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ func (ops *HeaderOps) Provision(_ caddy.Context) error {
|
||||||
return nil
|
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 {
|
func containsPlaceholders(s string) bool {
|
||||||
openIdx := strings.Index(s, "{")
|
openIdx := strings.Index(s, "{")
|
||||||
if openIdx == -1 {
|
if openIdx == -1 {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue