mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-06 17:46:57 +02:00
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:
commit
128bcf8d7f
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user