mirror of
https://github.com/pgsty/minio.git
synced 2026-07-23 14:10:25 +03:00
Add notifications by webhook.
Add a new config entry moving to version 13.
```
"webhook": {
"1": {
"enable": true,
"address": "http://requestb.in/1i9al7m1"
}
}
```
This commit is contained in:
+1
-1
@@ -82,7 +82,7 @@ func newAMQPNotify(accountID string) (*logrus.Logger, error) {
|
||||
return amqpLog, nil
|
||||
}
|
||||
|
||||
// Fire is called when an event should be sent to the message broker.k
|
||||
// Fire is called when an event should be sent to the message broker.
|
||||
func (q amqpConn) Fire(entry *logrus.Entry) error {
|
||||
ch, err := q.Connection.Channel()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user