Commit 9de08850 authored by Faizal Aziz's avatar Faizal Aziz

hotfix again

parent c0f82c8a
......@@ -105,9 +105,9 @@ func (c *client) GetWithProxyAuth(ctx *context.UlfsaarContext, path, ip, port, u
urls := c.options.Address + path
startTime := time.Now()
var stringProxUrl string
proxUrl, err := url.Parse(fmt.Sprintf("http://%s:%s", ip, port))
proxUrl, err := url.Parse(fmt.Sprintf("http://%s:%s@%s:%s", username, password, ip, port))
if err != nil {
stringProxUrl = fmt.Sprintf("%s:%s", ip, port)
stringProxUrl = fmt.Sprintf("http://%s:%s@%s:%s", username, password, ip, port)
} else {
stringProxUrl = proxUrl.String()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment