자동 재접속
This commit is contained in:
@ -194,7 +194,7 @@ func (hc *houstonClient) prepareDeploy(name string, version string) (destPath st
|
||||
func (hc *houstonClient) makeDownloadUrl(rel string) string {
|
||||
out := rel
|
||||
if !strings.HasPrefix(out, "http") {
|
||||
tks := strings.SplitN(hc.httpAddr, "://", 2)
|
||||
tks := strings.SplitN(hc.config.HttpAddress, "://", 2)
|
||||
out = fmt.Sprintf("%s://%s", tks[0], path.Join(tks[1], rel))
|
||||
}
|
||||
return out
|
||||
|
||||
Reference in New Issue
Block a user