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
This commit is contained in:
parent
440b440562
commit
818ed0b2d0
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user