diff options
author | 2021-02-25 18:14:57 +0100 | |
---|---|---|
committer | 2021-02-25 18:14:57 +0100 | |
commit | c2028e330f91c91fc8b8cca72a75d3cde2ef3597 (patch) | |
tree | f015ef53a66ab6e24e3e6339f345aa7a901dad22 /plugin/tls | |
parent | 4843cdfe1eaf871fea38b9219ac0cf818b615122 (diff) | |
download | coredns-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/tls')
0 files changed, 0 insertions, 0 deletions