Commit b3338c93 authored by duanjinfei's avatar duanjinfei

update docker server config parse

parent 93d6528a
......@@ -79,6 +79,6 @@ func checkDockerServer(rawURL string) (bool, string) {
if parsedURL.Host != "" {
ip = parsedURL.Host
}
newUrl := fmt.Sprintf("%s%s:%s", ip, port, protocol)
newUrl := fmt.Sprintf("%s%s:%s", ip, protocol, port)
return true, newUrl
}
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