Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
start informerFactory by default. (#614)
Browse files Browse the repository at this point in the history
Signed-off-by: Chao-Heng Lee <chaohengstudent@gmail.com>
Co-authored-by: Dan Rammer <daniel@union.ai>
  • Loading branch information
chaohengstudent and hamersaw committed Sep 11, 2023
1 parent 73ba504 commit 9aec46d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -598,9 +598,7 @@ func StartController(ctx context.Context, cfg *config.Config, defaultNamespace s
}

go flyteworkflowInformerFactory.Start(ctx.Done())
if flyteK8sConfig.GetK8sPluginConfig().DefaultPodTemplateName != "" {
go informerFactory.Start(ctx.Done())
}
go informerFactory.Start(ctx.Done())

if err = c.Run(ctx); err != nil {
return errors.Wrapf(err, "Error running FlytePropeller.")
Expand Down

0 comments on commit 9aec46d

Please sign in to comment.