mirror of
https://github.com/minio/minio.git
synced 2025-11-09 13:39:46 -05:00
Enable event persistence in webhook (#7614)
This commit is contained in:
committed by
Nitish Tiwari
parent
0ebbd3caef
commit
bb871a7c31
@@ -767,7 +767,7 @@ func getNotificationTargets(config *serverConfig) *event.TargetList {
|
||||
for id, args := range config.Notify.Webhook {
|
||||
if args.Enable {
|
||||
args.RootCAs = globalRootCAs
|
||||
newTarget := target.NewWebhookTarget(id, args)
|
||||
newTarget := target.NewWebhookTarget(id, args, GlobalServiceDoneCh)
|
||||
if err := targetList.Add(newTarget); err != nil {
|
||||
logger.LogIf(context.Background(), err)
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user