Skip to content

Commit 929d6eb

Browse files
committed
fix lint
Signed-off-by: odubajDT <[email protected]>
1 parent de921d1 commit 929d6eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/ottl/ottlfuncs/func_merge_maps.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func mergeMaps[K any](target ottl.PMapGetter[K], source ottl.Optional[ottl.PMapG
5757
}
5858

5959
if source.IsEmpty() && sources.IsEmpty() {
60-
return nil, fmt.Errorf("at least one of the optional arguments ('source' or 'sources') must be provided")
60+
return nil, errors.New("at least one of the optional arguments ('source' or 'sources') must be provided")
6161
}
6262

6363
return func(ctx context.Context, tCtx K) (any, error) {

0 commit comments

Comments
 (0)