mirror of https://github.com/tidwall/tile38.git
Merge branch 'master' of https://github.com/pacaj2am/tile38 into pacaj2am-master
This commit is contained in:
commit
9ea0803ce0
|
@ -93,7 +93,7 @@ func (conn *AMQPConn) Send(msg string) error {
|
||||||
); err != nil {
|
); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if conn.ep.AMQP.Type != "topic" {
|
if conn.ep.AMQP.Type != "topic" {
|
||||||
// Create queue if queue don't exists
|
// Create queue if queue don't exists
|
||||||
if _, err := channel.QueueDeclare(
|
if _, err := channel.QueueDeclare(
|
||||||
conn.ep.AMQP.QueueName,
|
conn.ep.AMQP.QueueName,
|
||||||
|
@ -117,7 +117,6 @@ func (conn *AMQPConn) Send(msg string) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
conn.conn = c
|
conn.conn = c
|
||||||
conn.channel = channel
|
conn.channel = channel
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue