Skip to content

Commit

Permalink
gofumpt
Browse files Browse the repository at this point in the history
  • Loading branch information
michalpristas committed Nov 27, 2024
1 parent fbf7689 commit a9fe242
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/ottl/ottlfuncs/func_html_strip.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ func createHTMLStripFunction[K any](_ ottl.FunctionContext, oArgs ottl.Arguments
return htmlStrip(args.HTMLSource), nil
}

func htmlStrip[K any](HTMLSource ottl.StringGetter[K]) ottl.ExprFunc[K] {
func htmlStrip[K any](unescapedSource ottl.StringGetter[K]) ottl.ExprFunc[K] {
return func(ctx context.Context, tCtx K) (any, error) {
htmlString, err := HTMLSource.Get(ctx, tCtx)
htmlString, err := unescapedSource.Get(ctx, tCtx)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit a9fe242

Please sign in to comment.