From fffa40552cc9f6d372607d1ed40a44d97cecb314 Mon Sep 17 00:00:00 2001 From: hzxuzhonghu Date: Tue, 20 Mar 2018 18:50:19 +0800 Subject: [PATCH] remove unused code --- .../k8s.io/apiserver/pkg/storage/etcd3/preflight/checks.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/staging/src/k8s.io/apiserver/pkg/storage/etcd3/preflight/checks.go b/staging/src/k8s.io/apiserver/pkg/storage/etcd3/preflight/checks.go index 220bf0a1c67..9c12c2090da 100644 --- a/staging/src/k8s.io/apiserver/pkg/storage/etcd3/preflight/checks.go +++ b/staging/src/k8s.io/apiserver/pkg/storage/etcd3/preflight/checks.go @@ -26,12 +26,6 @@ import ( const connectionTimeout = 1 * time.Second -type connection interface { - serverReachable(address string) bool - parseServerList(serverList []string) error - CheckEtcdServers() (bool, error) -} - // EtcdConnection holds the Etcd server list type EtcdConnection struct { ServerList []string