Skip to content

Commit

Permalink
fix: usage of func argument
Browse files Browse the repository at this point in the history
  • Loading branch information
primexiao committed May 20, 2024
1 parent 90c1d0b commit 62b0b68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fc/invoke_loop.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func startRuntimeAPILoop(ctx context.Context, api string, baseHandler handlerWra
continue
}
go func(req *invoke, f *Function) {
err = handleInvoke(req, function)
err = handleInvoke(req, f)
if err != nil {
logPrintf("failed to invoke function due to %v", err)
}
Expand Down

0 comments on commit 62b0b68

Please sign in to comment.