mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
tests: Fix race between SetBucketListenerConfig and eventNotifyForBucketNotifications (#3041)
This commit is contained in:
parent
f2b0c08e34
commit
4b5b363c6c
@ -211,7 +211,6 @@ func (en *eventNotifier) SetBucketListenerConfig(bucket string, lcfg []listenerC
|
||||
} else {
|
||||
en.internal.listenerConfigs[bucket] = lcfg
|
||||
}
|
||||
en.internal.targets = make(map[string]*listenerLogger)
|
||||
for _, elcArr := range en.internal.listenerConfigs {
|
||||
for _, elcElem := range elcArr {
|
||||
currArn := elcElem.TopicConfig.TopicARN
|
||||
|
Loading…
Reference in New Issue
Block a user