提交 818ed0b2 编写于 作者: A aarzilli 提交者: Derek Parker

rpccommon: restore API port message

This message is used by clients to determine the port that a headless
instance is using, therefore the format can not change or move to a
different file handle.

Fixes #1245
上级 440b4405
......@@ -78,7 +78,7 @@ func NewServer(config *service.Config) *ServerImpl {
}
if config.Foreground {
// Print listener address
logger.Infof("API server listening at: %s", config.Listener.Addr())
fmt.Printf("API server listening at: %s\n", config.Listener.Addr())
}
return &ServerImpl{
config: config,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册