File tree 4 files changed +1599
-14
lines changed
4 files changed +1599
-14
lines changed Original file line number Diff line number Diff line change @@ -517,6 +517,8 @@ func (ctx *FunctionContext) GetNativeContext() context.Context {
517
517
}
518
518
519
519
func (ctx * FunctionContext ) SetNativeContext (c context.Context ) {
520
+ ctx .mu .Lock ()
521
+ defer ctx .mu .Unlock ()
520
522
ctx .Ctx = c
521
523
}
522
524
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ require (
59
59
github.com/mitchellh/mapstructure v1.5.0 // indirect
60
60
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
61
61
github.com/modern-go/reflect2 v1.0.2 // indirect
62
+ github.com/onsi/gomega v1.18.1 // indirect
62
63
github.com/openzipkin/zipkin-go v0.2.2 // indirect
63
64
github.com/pmezard/go-difflib v1.0.0 // indirect
64
65
github.com/prometheus/client_golang v1.12.2 // indirect
You can’t perform that action at this time.
0 commit comments