Fix golint failures in pkg/proxy

Review feedback - remove alias from imports

fix comments
This commit is contained in:
Anish Ramasekar
2019-07-05 12:44:37 -07:00
parent 00cf865762
commit 2878270f5b
12 changed files with 18 additions and 19 deletions

View File

@@ -271,8 +271,8 @@ func (r *realIPGetter) NodeIPs() (ips []net.IP, err error) {
return ips, nil
}
// Proxier implements ProxyProvider
var _ proxy.ProxyProvider = &Proxier{}
// Proxier implements proxy.Provider
var _ proxy.Provider = &Proxier{}
// parseExcludedCIDRs parses the input strings and returns net.IPNet
// The validation has been done earlier so the error condition will never happen under normal conditions