1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Remove proto frpm default port

This commit is contained in:
Victor Vieux 2013-10-23 17:32:40 -07:00
parent 640682d56c
commit da864a845b

View file

@ -54,7 +54,7 @@ func (l *Link) ToEnv() []string {
alias := strings.ToUpper(l.Alias())
if p := l.getDefaultPort(); p != nil {
env = append(env, fmt.Sprintf("%s_PORT=%s://%s:%s", alias, p.Proto(), l.ChildIP, p.Port()))
env = append(env, fmt.Sprintf("%s_PORT=%s:%s", alias, l.ChildIP, p.Port()))
}
// Load exposed ports into the environment