Skip to content

Commit 86be7ce

Browse files
committed
fix: wrong AMQP scheme
1 parent a7da20e commit 86be7ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ type options struct {
4747
// WithAddr setup the URI
4848
func WithAddr(addr string) Option {
4949
return func(w *options) {
50-
w.addr = "nats://" + addr
50+
w.addr = addr
5151
}
5252
}
5353

0 commit comments

Comments
 (0)