Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: odubajDT <[email protected]>
  • Loading branch information
odubajDT committed Dec 17, 2024
1 parent 6d9b100 commit b724fe1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/ottl/contexts/internal/value.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ func getIndexableValue[K any](ctx context.Context, tCtx K, value pcommon.Value,
if err != nil {
return nil, err
}
resString, ok := res.(string)
if !ok {
resString, okk := res.(string)
if !okk {
return nil, fmt.Errorf("err")
}
s = &resString
Expand Down

0 comments on commit b724fe1

Please sign in to comment.