|
|
@ -1188,7 +1188,7 @@ func (sys *NotificationSys) GetLocalDiskIDs(ctx context.Context) (localDiskIDs [ |
|
|
|
|
|
|
|
|
|
|
|
// NewNotificationSys - creates new notification system object.
|
|
|
|
// NewNotificationSys - creates new notification system object.
|
|
|
|
func NewNotificationSys(endpoints EndpointZones) *NotificationSys { |
|
|
|
func NewNotificationSys(endpoints EndpointZones) *NotificationSys { |
|
|
|
// bucketRulesMap/bucketRemoteTargetRulesMap are initialized by NotificationSys.Init()
|
|
|
|
// targetList/bucketRulesMap/bucketRemoteTargetRulesMap are populated by NotificationSys.Init()
|
|
|
|
return &NotificationSys{ |
|
|
|
return &NotificationSys{ |
|
|
|
targetList: event.NewTargetList(), |
|
|
|
targetList: event.NewTargetList(), |
|
|
|
targetResCh: make(chan event.TargetIDResult), |
|
|
|
targetResCh: make(chan event.TargetIDResult), |
|
|
|