test
This commit is contained in:
parent
1e4ae43008
commit
58aca1ca9a
|
@ -24,7 +24,7 @@ func ReadGroup(queue_no int64) (order *models.Orders, err error) {
|
|||
streamName := "orders"
|
||||
groupName := "orders_one"
|
||||
consumerName := "cosumer_one"
|
||||
if queue_no > 0 {
|
||||
if queue_no != 0 {
|
||||
streamName = fmt.Sprintf("orders_%d", queue_no)
|
||||
groupName = fmt.Sprintf("orders_%d", queue_no)
|
||||
consumerName = fmt.Sprintf("cosumer_%d", queue_no)
|
||||
|
|
Loading…
Reference in New Issue