完善日志
This commit is contained in:
@@ -557,7 +557,9 @@ func (s *Service) setupNode() error {
|
||||
inner.Protocol = config.NodeType
|
||||
}
|
||||
if inner.Port == 0 {
|
||||
if config.Port != 0 {
|
||||
if inner.ServerPort != 0 {
|
||||
inner.Port = inner.ServerPort
|
||||
} else if config.Port != 0 {
|
||||
inner.Port = config.Port
|
||||
} else {
|
||||
inner.Port = config.ServerPort
|
||||
|
||||
Reference in New Issue
Block a user