tests: Fix race between SetBucketListenerConfig and eventNotifyForBucketNotifications (#3041)

master
Harshavardhana 8 years ago committed by GitHub
parent f2b0c08e34
commit 4b5b363c6c
  1. 1
      cmd/event-notifier.go

@ -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…
Cancel
Save