Skip to content

Commit

Permalink
Merge pull request #3009 from olemarkus/continue-on-bad-source
Browse files Browse the repository at this point in the history
If an error propagates all the way out, bail execution
  • Loading branch information
k8s-ci-robot authored May 8, 2023
2 parents 74d1f20 + 07dc39a commit 128bcf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ func (c *Controller) Run(ctx context.Context) {
for {
if c.ShouldRunOnce(time.Now()) {
if err := c.RunOnce(ctx); err != nil {
log.Error(err)
log.Fatal(err)
}
}
select {
Expand Down

0 comments on commit 128bcf8

Please sign in to comment.