Remove underscore from var

This commit is contained in:
Dan
2018-04-12 18:47:41 +01:00
committed by GitHub
parent df1f808002
commit ca37395f51

View File

@@ -81,9 +81,9 @@ func (l Negotiator) RoundTrip(req *http.Request) (res *http.Response, err error)
domain := ""
if strings.Contains(u, "\\") {
u_components := strings.Split(u, "\\")
domain = u_components[0]
u = u_components[1]
ucomponents := strings.Split(u, "\\")
domain = ucomponents[0]
u = ucomponents[1]
}
// send negotiate