pass handler ctx to node rest nodegetter

This commit is contained in:
zuoxiu.jm
2018-10-01 09:20:11 -04:00
parent b442c25325
commit 3370907fe5
8 changed files with 16 additions and 25 deletions

View File

@@ -19,14 +19,9 @@ package client
import (
"testing"
v1core "k8s.io/client-go/kubernetes/typed/core/v1"
restclient "k8s.io/client-go/rest"
)
// Ensure a node client can be used as a NodeGetter.
// This allows anyone with a node client to easily construct a NewNodeConnectionInfoGetter.
var _ = NodeGetter(v1core.NodeInterface(nil))
func TestMakeTransportInvalid(t *testing.T) {
config := &KubeletClientConfig{
EnableHttps: true,