remove unused code
This commit is contained in:
@@ -26,12 +26,6 @@ import (
|
|||||||
|
|
||||||
const connectionTimeout = 1 * time.Second
|
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
|
// EtcdConnection holds the Etcd server list
|
||||||
type EtcdConnection struct {
|
type EtcdConnection struct {
|
||||||
ServerList []string
|
ServerList []string
|
||||||
|
|||||||
Reference in New Issue
Block a user