aboutsummaryrefslogtreecommitdiff
path: root/middleware/kubernetes/kubernetes.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2017-08-05 01:36:11 -0700
committerGravatar GitHub <noreply@github.com> 2017-08-05 01:36:11 -0700
commita235833be8b77cfa5a7a6be033c383f74066b794 (patch)
treee50fb205ae73746758d6cb9bf7a046be0aed4fc3 /middleware/kubernetes/kubernetes.go
parentb11cf7c2bc1d7136755e81f104ddde1748f510cd (diff)
downloadcoredns-a235833be8b77cfa5a7a6be033c383f74066b794.tar.gz
coredns-a235833be8b77cfa5a7a6be033c383f74066b794.tar.zst
coredns-a235833be8b77cfa5a7a6be033c383f74066b794.zip
middleware/secondary: pull all zones (#834)
Use the same OnStartup setup as in the file middleware. We need to copy the variable from range, otherwise it gets overwriten in the next loop because of the async goroutine call. Hard to test, we have secondary_test.go which we could extend with multiple zones for instance. For now this fix does not have an test case with it...
Diffstat (limited to 'middleware/kubernetes/kubernetes.go')
0 files changed, 0 insertions, 0 deletions