mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
Signed-off-by: Bartosz Borkowski <bartebor@wp.pl> Co-authored-by: Bartosz Borkowski <bartosz.borkowski@grupawp.pl>
This commit is contained in:
committed by
GitHub
parent
77516a6bc2
commit
7c76d534d3
@@ -40,6 +40,9 @@ func DefaultProcessor(convert ToFunc, recordLatency *EndpointLatencyRecorder) Pr
|
||||
case cache.Sync, cache.Added, cache.Updated:
|
||||
obj, err := convert(d.Object.(meta.Object))
|
||||
if err != nil {
|
||||
if err == errPodTerminating {
|
||||
continue
|
||||
}
|
||||
return err
|
||||
}
|
||||
if old, exists, err := clientState.Get(obj); err == nil && exists {
|
||||
|
||||
Reference in New Issue
Block a user