Skip to content

Commit

Permalink
fix(httpcaddyfile): use more intuitive func name
Browse files Browse the repository at this point in the history
  • Loading branch information
hainenber committed Sep 8, 2023
1 parent 4025b66 commit 3eddbc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions caddyconfig/httpcaddyfile/shorthands.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ func placeholderShorthands() []string {
}
}

// ReplaceSegmentsWithFullPlaceholder replaces shorthand placeholder to its full placeholder, understandable by Caddy.
func (s ShorthandReplacer) ReplaceSegmentsWithFullPlaceholder(segment *caddyfile.Segment) {
// ApplyToSegment replaces shorthand placeholder to its full placeholder, understandable by Caddy.
func (s ShorthandReplacer) ApplyToSegment(segment *caddyfile.Segment) {
if segment != nil {
for i := 0; i < len(*segment); i++ {
// simple string replacements
Expand Down

0 comments on commit 3eddbc9

Please sign in to comment.