fix conflict

Signed-off-by: ‘hanzhixiao’ <‘709674996@qq.com’>
This commit is contained in:
‘hanzhixiao’
2023-07-13 17:04:10 +08:00
parent 02e6b7ec18
commit 25eabde3f6
6 changed files with 27 additions and 20 deletions
+1
View File
@@ -45,6 +45,7 @@ func (a *RpcCmd) StartSvr(
name string,
rpcFn func(discov discoveryregistry.SvcDiscoveryRegistry, server *grpc.Server) error,
) error {
a.port = 10030
if a.GetPortFlag() == 0 {
return errors.New("port is required")
}