fix bug:change packname

This commit is contained in:
lin.huang 2023-11-02 01:30:12 +08:00
parent a11e34689c
commit 4bf5b00183

View File

@ -66,7 +66,7 @@ func (m *MsgGatewayCmd) GetPortFromConfig(portType string) int {
} else if portType == constant.FlagPort {
return v3config.Config.LongConnSvr.OpenImMessageGatewayPort[0]
} else if portType == constant.FlagPrometheusPort {
return config2.Config.Prometheus.MessageGatewayPrometheusPort[0]
return v3config.Config.Prometheus.MessageGatewayPrometheusPort[0]
} else {
return 0
}