mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
plugin/kubernetes: add ready function (#2709)
* plugin/kubernetes: add ready function Add ready function as the health function is now gone. Signed-off-by: Miek Gieben <miek@miek.nl> * Fix readme Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
committed by
Chris O'Haver
parent
aa9c7a2e61
commit
43c3e0ab68
4
plugin/kubernetes/ready.go
Normal file
4
plugin/kubernetes/ready.go
Normal file
@@ -0,0 +1,4 @@
|
||||
package kubernetes
|
||||
|
||||
// Ready implements the ready.Readiness interface.
|
||||
func (k *Kubernetes) Ready() bool { return k.APIConn.HasSynced() }
|
||||
Reference in New Issue
Block a user