Remove untested and unused code

This commit is contained in:
Daniel Smith
2014-10-08 14:23:25 -07:00
parent a4a87d9916
commit 8007614085
4 changed files with 0 additions and 145 deletions

View File

@@ -31,7 +31,6 @@ import (
)
var (
configFile = flag.String("configfile", "/tmp/proxy_config", "Configuration file for the proxy")
etcdServerList util.StringList
etcdConfigFile = flag.String("etcd_config", "", "The config file for the etcd client. Mutually exclusive with -etcd_servers")
bindAddress = util.IP(net.ParseIP("0.0.0.0"))
@@ -97,12 +96,6 @@ func main() {
}
}
// And create a configuration source that reads from a local file
config.NewConfigSourceFile(*configFile,
serviceConfig.Channel("file"),
endpointsConfig.Channel("file"))
glog.Infof("Using configuration file %s", *configFile)
loadBalancer := proxy.NewLoadBalancerRR()
proxier := proxy.NewProxier(loadBalancer, net.IP(bindAddress))
// Wire proxier to handle changes to services