mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 00:34:24 -04:00
Merge branch 'master' of github.com:coredns/coredns
This commit is contained in:
@@ -21,7 +21,7 @@ Please be kind. :smile: Remember that CoreDNS comes at no cost to you, and you'r
|
|||||||
getting free help.
|
getting free help.
|
||||||
|
|
||||||
We are using [Stable Bot](https://github.com/probot/stale) to close inactive issues. If you feel an
|
We are using [Stable Bot](https://github.com/probot/stale) to close inactive issues. If you feel an
|
||||||
issue should not be closed you can add the "pinned" label to it or just update the bug ever now or
|
issue should not be closed you can add the "pinned" label to it or just update the bug every now and
|
||||||
then.
|
then.
|
||||||
|
|
||||||
## Minor improvements and new tests
|
## Minor improvements and new tests
|
||||||
|
|||||||
@@ -222,6 +222,9 @@ func (k *Kubernetes) getClientConfig() (*rest.Config, error) {
|
|||||||
clientConfig := clientcmd.NewNonInteractiveDeferredLoadingClientConfig(loadingRules, overrides)
|
clientConfig := clientcmd.NewNonInteractiveDeferredLoadingClientConfig(loadingRules, overrides)
|
||||||
|
|
||||||
cc, err := clientConfig.ClientConfig()
|
cc, err := clientConfig.ClientConfig()
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
cc.ContentType = "application/vnd.kubernetes.protobuf"
|
cc.ContentType = "application/vnd.kubernetes.protobuf"
|
||||||
return cc, err
|
return cc, err
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user