Skip to content

Commit

Permalink
Merge branch 'master' into remove_pendo_member
Browse files Browse the repository at this point in the history
  • Loading branch information
xcoulon authored Aug 2, 2024
2 parents a38e40f + ba21e2f commit f3801e2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd/webhook/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,9 @@ func main() {
func reloadMemberConfig(cl client.Client) context.Context {
ctx := ctrl.SetupSignalHandler()
go wait.Until(func() {
_, _, err := configuration.LoadLatest(cl, &toolchainv1alpha1.MemberOperatorConfig{})
setupLog.Error(err, "unable to load latest member config")
if _, _, err := configuration.LoadLatest(cl, &toolchainv1alpha1.MemberOperatorConfig{}); err != nil {
setupLog.Error(err, "unable to load latest member config")
}
}, 5*time.Second, ctx.Done())
return ctx
}

0 comments on commit f3801e2

Please sign in to comment.