Skip to content

Commit 85f5c88

Browse files
committed
fix funcout in async
Signed-off-by: oops-oom <[email protected]>
1 parent fa9a5a1 commit 85f5c88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/runtime.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ func (rm *RuntimeManager) FunctionRunWrapperWithHooks(fn interface{}) {
135135

136136
rm.FuncContext.WithOut(out.GetOut())
137137
rm.FuncContext.WithError(err)
138-
138+
rm.FuncOut = rm.FuncContext.GetOut()
139139
} else if rm.FuncContext.GetSyncRequest().Request != nil {
140140
var body []byte
141141
// if it is a cloud event, we extract the cloudevent data as user data, and pass the raw cloud event in ctx

0 commit comments

Comments
 (0)