mirror of
https://github.com/openziti/zrok.git
synced 2024-11-22 08:03:49 +01: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…
Reference in New Issue
Block a user