Skip to content

Commit

Permalink
Merge pull request #800 from guidao/bugfix/pos
Browse files Browse the repository at this point in the history
Fix incorrect positional parameters
  • Loading branch information
Civil authored Sep 16, 2023
2 parents 3eb77c5 + 5195b55 commit c269efb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion expr/functions/transformNull/function.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (f *transformNull) Do(ctx context.Context, e parser.Expr, from, until int64
if err != nil {
return nil, err
}
defaultOnAbsent, err := e.GetBoolNamedOrPosArgDefault("defaultOnAbsent", 2, false)
defaultOnAbsent, err := e.GetBoolNamedOrPosArgDefault("defaultOnAbsent", 3, false)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit c269efb

Please sign in to comment.