Skip to content

Commit

Permalink
remove redundant init of direct messaging (dapr#6320)
Browse files Browse the repository at this point in the history
Signed-off-by: yaron2 <schneider.yaron@live.com>
  • Loading branch information
yaron2 authored May 8, 2023
1 parent 0f83cf5 commit 827678f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/runtime/runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -545,8 +545,6 @@ func (a *DaprRuntime) initRuntime(opts *runtimeOpts) error {
a.daprHTTPAPI.SetHTTPEndpointsAppChannel(a.httpEndpointsAppChannel)
a.directMessaging.SetHTTPEndpointsAppChannel(a.httpEndpointsAppChannel)

a.initDirectMessaging(a.nameResolver)

a.daprHTTPAPI.SetDirectMessaging(a.directMessaging)
a.daprGRPCAPI.SetDirectMessaging(a.directMessaging)

Expand Down

0 comments on commit 827678f

Please sign in to comment.