diff --git a/staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/etcd3.go b/staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/etcd3.go index cce71d216ab..6ad37a04d01 100644 --- a/staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/etcd3.go +++ b/staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/etcd3.go @@ -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) {