From da864a845b94db64de8dcee12f62c26c57008f71 Mon Sep 17 00:00:00 2001 From: Victor Vieux Date: Wed, 23 Oct 2013 17:32:40 -0700 Subject: [PATCH] Remove proto frpm default port --- links.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/links.go b/links.go index f1087ec34a..9b3d0b8886 100644 --- a/links.go +++ b/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