minor fix

Kubernetes-commit: 07fc593dcd8b4f3583876fc415df9fdf34632a03
This commit is contained in:
gorilla1024 2018-09-25 10:56:37 +08:00 committed by Kubernetes Publisher
parent ec2b99f302
commit ff3eff6aa4
1 changed files with 2 additions and 2 deletions

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) {