mirror of
https://github.com/openziti/zrok.git
synced 2025-06-26 04:31:30 +02:00
remove extraneous connect() call (#344)
This commit is contained in:
parent
dc3648f73d
commit
0e91c2687f
@ -47,9 +47,6 @@ func newAmqpSource(cfg *AmqpSourceConfig) (*amqpSource, error) {
|
||||
close: make(chan struct{}),
|
||||
join: make(chan struct{}),
|
||||
}
|
||||
if err := as.connect(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return as, nil
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user