aboutsummaryrefslogtreecommitdiff
path: root/plugin/normalize_test.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2021-02-25 18:14:57 +0100
committerGravatar GitHub <noreply@github.com> 2021-02-25 18:14:57 +0100
commitc2028e330f91c91fc8b8cca72a75d3cde2ef3597 (patch)
treef015ef53a66ab6e24e3e6339f345aa7a901dad22 /plugin/normalize_test.go
parent4843cdfe1eaf871fea38b9219ac0cf818b615122 (diff)
downloadcoredns-c2028e330f91c91fc8b8cca72a75d3cde2ef3597.tar.gz
coredns-c2028e330f91c91fc8b8cca72a75d3cde2ef3597.tar.zst
coredns-c2028e330f91c91fc8b8cca72a75d3cde2ef3597.zip
plugin/kubernetes: don't return when ServerVersion return an error (#4490)
When err=nil try to determine the version of the k8s cluster and disable endpoint slices. Don't return from connecting to the cluster. In the future we should just default to true, and delete all this code. Signed-off-by: Miek Gieben <miek@miek.nl>
Diffstat (limited to 'plugin/normalize_test.go')
0 files changed, 0 insertions, 0 deletions