Merge pull request #3009 from olemarkus/continue-on-bad-source

If an error propagates all the way out, bail execution
This commit is contained in:
Kubernetes Prow Robot 2023-05-08 04:43:17 -07:00 committed by GitHub
commit 128bcf8d7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -336,7 +336,7 @@ func (c *Controller) Run(ctx context.Context) {
for { for {
if c.ShouldRunOnce(time.Now()) { if c.ShouldRunOnce(time.Now()) {
if err := c.RunOnce(ctx); err != nil { if err := c.RunOnce(ctx); err != nil {
log.Error(err) log.Fatal(err)
} }
} }
select { select {