From e84530b6c9efefe571cf65120fbdb8e5dbbf12bf Mon Sep 17 00:00:00 2001 From: "lin.huang" Date: Thu, 5 Oct 2023 12:28:36 +0800 Subject: [PATCH] bug fix:change port value --- pkg/common/cmd/rpc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/common/cmd/rpc.go b/pkg/common/cmd/rpc.go index 65e668145..224edc0a0 100644 --- a/pkg/common/cmd/rpc.go +++ b/pkg/common/cmd/rpc.go @@ -77,7 +77,7 @@ func (a *RpcCmd) GetPortFromConfig(portType string) int { } case RpcMsgServer: if portType == constant.FlagPort { - return config2.Config.RpcPort.OpenImMessageGatewayPort[0] + return config2.Config.RpcPort.OpenImMessagePort[0] } case RpcThirdServer: if portType == constant.FlagPort {