提交 fcdd1404 编写于 作者: D dlorenc

Use the real GetIP function.

上级 3d134508
......@@ -159,8 +159,15 @@ func (d *Driver) Restart() error {
}
func (d *Driver) Start() error {
d.IPAddress = "127.0.0.1"
d.URL = "127.0.0.1:8080"
var err error
d.IPAddress, err = d.GetIP()
if err != nil {
return err
}
d.URL, err = d.GetURL()
if err != nil {
return err
}
return nil
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册