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

@@ -92,8 +92,8 @@ type Proxier struct {
hostIP net.IP
}
// assert Proxier is a ProxyProvider
var _ proxy.ProxyProvider = &Proxier{}
// assert Proxier is a proxy.Provider
var _ proxy.Provider = &Proxier{}
// A key for the portMap. The ip has to be a string because slices can't be map
// keys.