Merge pull request #69018 from gorilla001/f3

remove extraneous local variable usage in newETCD3Client
This commit is contained in:
k8s-ci-robot 2018-09-30 00:44:24 -07:00 committed by GitHub
commit c526f09700
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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