Skip to content

Commit

Permalink
Register IsBool converter
Browse files Browse the repository at this point in the history
This commit integrates the IsBool converter into the OTTL function
registry by modifying the `functions.go` file. Specifically, the
function `NewIsBoolFactory[K]()` has been included in the list of
available converters.

The update ensures that the IsBool converter is now available for use
within the existing OTTL framework.
  • Loading branch information
Dennis40816 committed Nov 12, 2023
1 parent 703b390 commit 15db093
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/ottl/ottlfuncs/functions.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ func converters[K any]() []ottl.Factory[K] {
NewFnvFactory[K](),
NewHoursFactory[K](),
NewIntFactory[K](),
NewIsBoolFactory[K](),
NewIsMapFactory[K](),
NewIsMatchFactory[K](),
NewIsStringFactory[K](),
Expand Down

0 comments on commit 15db093

Please sign in to comment.