mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 12:10:24 +03:00
Update code comment (#10287)
This commit is contained in:
+1
-1
@@ -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),
|
||||||
|
|||||||
Reference in New Issue
Block a user