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 4f20d9b commit 6d9b100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ottl/contexts/internal/value.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ func setIndexableValue[K any](ctx context.Context, tCtx K, currentValue pcommon.
currentValue = currentValue.SetEmptyMap().PutEmpty(resString)
}
currentValue.SetEmptySlice()
for k := 0; k < int(*&resInt); k++ {
for k := 0; k < int(resInt); k++ {
currentValue.Slice().AppendEmpty()
}
currentValue = currentValue.Slice().AppendEmpty()
Expand Down

0 comments on commit 6d9b100

Please sign in to comment.