fix conflict

Signed-off-by: ‘hanzhixiao’ <‘709674996@qq.com’>
This commit is contained in:
‘hanzhixiao’
2023-07-13 18:37:59 +08:00
parent fda6cd5354
commit 4bd97149c3
3 changed files with 1 additions and 3 deletions
-1
View File
@@ -45,7 +45,6 @@ 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")
}