Skip to content

Commit

Permalink
remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
benclive committed Jul 16, 2024
1 parent 24886a2 commit 1038177
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pkg/pattern/drain/drain.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,14 +301,6 @@ func deduplicatePlaceholders(line string, placeholder string) string {
return unsafeString(builder)
}

func (d *Drain) PatternString(c *LogCluster) string {
s := deduplicatePlaceholders(d.tokenizer.Join(c.Tokens, c.TokenState), d.config.ParamString)
if s == d.config.ParamString {
return ""
}
return s
}

func (d *Drain) Prune() {
d.pruneTree(d.rootNode)
}
Expand Down

0 comments on commit 1038177

Please sign in to comment.