Skip to content

Commit

Permalink
Trigger registration controller sync from Trigger func
Browse files Browse the repository at this point in the history
Signed-off-by: Jian Qiu <jqiu@redhat.com>
  • Loading branch information
qiujian16 committed Nov 27, 2024
1 parent 81a5903 commit 26ca255
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/addonmanager/base_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ func (a *BaseAddonManagerImpl) StartWithInformers(ctx context.Context,
)
}

a.syncContexts = append(a.syncContexts, deployController.SyncContext())
a.syncContexts = append(a.syncContexts,
deployController.SyncContext(), registrationController.SyncContext())

go deployController.Run(ctx, 1)
go registrationController.Run(ctx, 1)
Expand Down

0 comments on commit 26ca255

Please sign in to comment.