minor fix

This commit is contained in:
gorilla1024 2018-09-25 10:56:37 +08:00
parent 6b1af84d4a
commit 07fc593dcd

View File

@ -104,8 +104,8 @@ func newETCD3Client(c storagebackend.Config) (*clientv3.Client, error) {
Endpoints: c.ServerList,
TLS: tlsConfig,
}
client, err := clientv3.New(cfg)
return client, err
return clientv3.New(cfg)
}
func newETCD3Storage(c storagebackend.Config) (storage.Interface, DestroyFunc, error) {