test
This commit is contained in:
parent
b21e22c59a
commit
f5a5d34620
2
mq.go
2
mq.go
@ -12,7 +12,7 @@ func (s MQSession) Open() error {
|
|||||||
err error
|
err error
|
||||||
conn *amqp.Connection
|
conn *amqp.Connection
|
||||||
ch *amqp.Channel
|
ch *amqp.Channel
|
||||||
q *amqp.Queue
|
q amqp.Queue
|
||||||
)
|
)
|
||||||
if s.isConnected {
|
if s.isConnected {
|
||||||
return errors.New("Session is already connected.")
|
return errors.New("Session is already connected.")
|
||||||
|
Loading…
Reference in New Issue
Block a user