We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 777cba1 + b474cd0 commit 68c7020Copy full SHA for 68c7020
context/context.go
@@ -435,6 +435,7 @@ func (ctx *FunctionContext) InitDaprClientIfNil() {
435
436
if ctx.daprClient == nil {
437
klog.Errorf("failed to init dapr client: %v", err)
438
+ panic(err)
439
}
440
441
runtime/knative/knative.go
@@ -75,7 +75,6 @@ func (r *Runtime) RegisterOpenFunction(
75
return
76
77
})
78
- ctx.DestroyDaprClient()
79
return nil
80
81
0 commit comments