MSP-5358 reimplement
This commit is contained in:
1 parent
e56a2b829f
commit
0c2bcc6cfe
8 files changed
+84
-30
No files matched your search
@@ -18,7 +18,6 @@ import (
|
||||
"golang.org/x/net/context"
|
||||
)
|
||||
|
||||
// nolint:gomnd
|
||||
var (
|
||||
httpTransport = &http.Transport{
|
||||
Proxy: http.ProxyFromEnvironment,
|
||||
|
||||
@@ -25,7 +25,6 @@ func NewWs(hostManager HttpHostManager, skipAuth bool) Ws {
|
||||
}
|
||||
}
|
||||
|
||||
//nolint:gomnd
|
||||
func (ws Ws) Handle(ctx *request.Context) error {
|
||||
host, err := ws.hostManager.Next()
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user