Browse code

Remove unused var 'errTLSConfigUnavailable' (#29626)

Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>

WANG Yuexiao authored on 2016/12/21 20:41:14
Showing 1 changed files
... ...
@@ -2,12 +2,9 @@ package client
2 2
 
3 3
 import (
4 4
 	"crypto/tls"
5
-	"errors"
6 5
 	"net/http"
7 6
 )
8 7
 
9
-var errTLSConfigUnavailable = errors.New("TLSConfig unavailable")
10
-
11 8
 // transportFunc allows us to inject a mock transport for testing. We define it
12 9
 // here so we can detect the tlsconfig and return nil for only this type.
13 10
 type transportFunc func(*http.Request) (*http.Response, error)