File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 49
49
50
50
// Config contains the options for a storage client.
51
51
type Config struct {
52
- ClientTLS * ClientTLSConfig
52
+ ClientTLS * ClientTLSConfig // Deprecated
53
53
TLS * tls.Config
54
54
ConnectionTimeout time.Duration
55
55
SyncPeriod time.Duration
@@ -65,6 +65,7 @@ type Config struct {
65
65
// ClientTLSConfig contains data for a Client TLS configuration
66
66
// in the form the etcd client wants it.
67
67
// Eventually we'll adapt it for ZK and Consul.
68
+ // Deprecated unused.
68
69
type ClientTLSConfig struct {
69
70
CertFile string
70
71
KeyFile string
Original file line number Diff line number Diff line change @@ -62,7 +62,10 @@ func TestListSupportedBackends(t *testing.T) {
62
62
require .NoError (t , err )
63
63
require .Nil (t , kv ) // AddStore return nil
64
64
}
65
- assert .Equal (t , test .expect , supportedBackend ())
65
+
66
+ backends := supportedBackend ()
67
+
68
+ assert .Equal (t , test .expect , backends )
66
69
})
67
70
}
68
71
}
You can’t perform that action at this time.
0 commit comments