Merge pull request #79846 from aramase/fix-golint-pkg/proxy

Fix golint failures in pkg/proxy
This commit is contained in:
Kubernetes Prow Robot
2019-08-23 00:51:17 -07:00
committed by GitHub
12 changed files with 18 additions and 19 deletions

View File

@@ -235,8 +235,8 @@ func (l *listenPortOpener) OpenLocalPort(lp *utilproxy.LocalPort) (utilproxy.Clo
return openLocalPort(lp)
}
// Proxier implements ProxyProvider
var _ proxy.ProxyProvider = &Proxier{}
// Proxier implements proxy.Provider
var _ proxy.Provider = &Proxier{}
// NewProxier returns a new Proxier given an iptables Interface instance.
// Because of the iptables logic, it is assumed that there is only a single Proxier active on a machine.