Skip to content

Commit

Permalink
fix(connection): fix passing dial cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
dmksnnk committed Jul 7, 2023
1 parent ffa9c02 commit e4a4d82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connection/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func Dial(url string, ops ...Option) (*Redialer, error) {
op(&r)
}

if err := r.dial(amqp.Config{}); err != nil {
if err := r.dial(r.cfg); err != nil {
return nil, fmt.Errorf("dial: %w", err)
}

Expand Down

0 comments on commit e4a4d82

Please sign in to comment.