Commit 972269a3 authored by Geoff Simmons's avatar Geoff Simmons

Remove some dead code.

parent 8abed666
......@@ -315,26 +315,6 @@ func (worker *NamespaceWorker) syncSvc(key string) error {
subset.NotReadyAddresses, offldAddrs,
dplanePort, faccessPort)
}
// for _, address := range subset.Addresses {
// addr := vcl.Address{
// IP: address.IP,
// Port: admPort,
// }
// addrs = append(addrs, addr)
// if hasTLS {
// addr := haproxy.OffldAddr{
// IP: address.IP,
// DataplanePort: dplanePort,
// FaccessPort: faccessPort,
// }
// if address.TargetRef != nil {
// addr.PodNamespace =
// address.TargetRef.Namespace
// addr.PodName = address.TargetRef.Name
// }
// offldAddrs = append(offldAddrs, addr)
// }
// }
}
if len(offldAddrs) > 0 {
worker.log.Tracef("Varnish service %s/%s offloader addresses: "+
......
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