Skip to content

Commit

Permalink
Merge branch 'master' into cacheonlymember
Browse files Browse the repository at this point in the history
  • Loading branch information
fbm3307 authored Aug 2, 2024
2 parents f43913c + ba21e2f commit b9369f9
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 b9369f9

Please sign in to comment.