Update code comment (#10287)

This commit is contained in:
Ritesh H Shukla 2020-08-19 14:24:58 -07:00 committed by GitHub
parent ab801ad3d4
commit 3acb5cff45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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