未验证 提交 518b9fe9 编写于 作者: C cai.zhang 提交者: GitHub

[skip ci]Fix golint error for initPort in indexnode (#12568)

Signed-off-by: NCai.Zhang <cai.zhang@zilliz.com>
上级 5e3e3b3b
...@@ -70,6 +70,7 @@ func (pt *ParamTable) initParams() { ...@@ -70,6 +70,7 @@ func (pt *ParamTable) initParams() {
pt.initServerMaxRecvSize() pt.initServerMaxRecvSize()
} }
// initPort initializes the port of IndexNode service.
func (pt *ParamTable) initPort() { func (pt *ParamTable) initPort() {
port := pt.ParseInt("indexNode.port") port := pt.ParseInt("indexNode.port")
pt.Port = port pt.Port = port
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册