зеркало из https://github.com/Azure/draft-classic.git
Fix innacurate connection message
This commit is contained in:
Родитель
06d22d70eb
Коммит
f0cec9e0b7
|
@ -96,6 +96,7 @@ func (cn *connectCmd) run(runningEnvironment string) (err error) {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
m := fmt.Sprintf("Connect to %v:%v on localhost:%#v\n", cc.ContainerName, t.Remote, t.Local)
|
m := fmt.Sprintf("Connect to %v:%v on localhost:%#v\n", cc.ContainerName, t.Remote, t.Local)
|
||||||
|
|
||||||
connectionMessage += m
|
connectionMessage += m
|
||||||
fmt.Fprintf(cn.out, m)
|
fmt.Fprintf(cn.out, m)
|
||||||
}
|
}
|
||||||
|
@ -119,8 +120,8 @@ func (cn *connectCmd) run(runningEnvironment string) (err error) {
|
||||||
}()
|
}()
|
||||||
|
|
||||||
for {
|
for {
|
||||||
fmt.Fprintf(cn.out, connectionMessage)
|
|
||||||
time.Sleep(5 * time.Minute)
|
time.Sleep(5 * time.Minute)
|
||||||
|
fmt.Fprintf(cn.out, connectionMessage)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче