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

View File

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