Update code comment (#10287)

master
Ritesh H Shukla 4 years ago committed by GitHub
parent ab801ad3d4
commit 3acb5cff45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      cmd/notification.go

@ -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),

Loading…
Cancel
Save