prevent negotation on connections that dont' require it

This commit is contained in:
deads2k
2016-12-16 16:08:46 -05:00
parent faf959b522
commit 9b507e8603
4 changed files with 12 additions and 1 deletions

View File

@@ -230,6 +230,10 @@ func (f *FakeFactory) ClientConfig() (*restclient.Config, error) {
return f.tf.ClientConfig, f.tf.Err
}
func (f *FakeFactory) BareClientConfig() (*restclient.Config, error) {
return f.tf.ClientConfig, f.tf.Err
}
func (f *FakeFactory) ClientForMapping(*meta.RESTMapping) (resource.RESTClient, error) {
return f.tf.Client, f.tf.Err
}