Skip to content

Commit

Permalink
Bugfix: pass logger to subscription.
Browse files Browse the repository at this point in the history
  • Loading branch information
lthibault committed Aug 7, 2023
1 parent c4174a7 commit 92283fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stream/transport/redis/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ func (t *Topic) Publish(ctx context.Context, m transport.Message) error {

func (t *Topic) Subscribe(ctx context.Context) transport.Subscription {
return Subscription{
Logger: t.Logger,
PubSub: t.Redis.Subscribe(ctx, t.Name),
LocalNode: t.LocalNode,
}
Expand Down

0 comments on commit 92283fb

Please sign in to comment.