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:
parent
640682d56c
commit
da864a845b
1 changed files with 1 additions and 1 deletions
2
links.go
2
links.go
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue