mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
set minttl to ttl setting (#2446)
This commit is contained in:
committed by
Miek Gieben
parent
0efa99e954
commit
875c11a0cb
@@ -20,7 +20,7 @@ const transferLength = 2000
|
||||
func (k *Kubernetes) Serial(state request.Request) uint32 { return uint32(k.APIConn.Modified()) }
|
||||
|
||||
// MinTTL implements the Transferer interface.
|
||||
func (k *Kubernetes) MinTTL(state request.Request) uint32 { return 30 }
|
||||
func (k *Kubernetes) MinTTL(state request.Request) uint32 { return k.ttl }
|
||||
|
||||
// Transfer implements the Transferer interface.
|
||||
func (k *Kubernetes) Transfer(ctx context.Context, state request.Request) (int, error) {
|
||||
|
||||
Reference in New Issue
Block a user