mirror of
https://github.com/minio/minio.git
synced 2025-11-25 20:16:10 -05:00
Implement proper reConnect logic for amqp notification target. (#4867)
Fixes #4597
This commit is contained in:
committed by
Dee Koder
parent
5a73aecb5c
commit
72490bf8db
@@ -78,7 +78,7 @@ func isAMQPQueue(sqsArn arnSQS) bool {
|
||||
errorIf(err, "Unable to connect to amqp service. %#v", amqpL)
|
||||
return false
|
||||
}
|
||||
defer amqpC.Close()
|
||||
defer amqpC.conn.Close()
|
||||
return true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user