Commit fffa4055 authored by hzxuzhonghu's avatar hzxuzhonghu

remove unused code

parent ea627f98
...@@ -26,12 +26,6 @@ import ( ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment