diff options
author | 2020-05-15 12:47:29 -0400 | |
---|---|---|
committer | 2020-05-15 09:47:29 -0700 | |
commit | a3aeb3d5034be71a352f874cfe7d7d31c218059d (patch) | |
tree | c9839454a0b2e57ecd19c76af738f6943753f2f9 /plugin/kubernetes/object/object.go | |
parent | bb7ee5010ed7eeba7aa269bdbe73b31e620c17cb (diff) | |
download | coredns-a3aeb3d5034be71a352f874cfe7d7d31c218059d.tar.gz coredns-a3aeb3d5034be71a352f874cfe7d7d31c218059d.tar.zst coredns-a3aeb3d5034be71a352f874cfe7d7d31c218059d.zip |
plugin/kubernetes: handle tombstones in default processor (#3890)
* handle deletion tombstones in default processor
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
* fix terminating pod exclusion
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
Diffstat (limited to 'plugin/kubernetes/object/object.go')
-rw-r--r-- | plugin/kubernetes/object/object.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/kubernetes/object/object.go b/plugin/kubernetes/object/object.go index d08960b11..f591f6d0a 100644 --- a/plugin/kubernetes/object/object.go +++ b/plugin/kubernetes/object/object.go @@ -23,7 +23,7 @@ import ( ) // ToFunc converts one empty interface to another. -type ToFunc func(interface{}) interface{} +type ToFunc func(interface{}) (interface{}, error) // ProcessorBuilder returns function to process cache events. type ProcessorBuilder func(cache.Indexer, cache.ResourceEventHandler) cache.ProcessFunc |