未验证 提交 fea11269 编写于 作者: Y yukun 提交者: GitHub

[skip ci]Fix golint (#12481)

Signed-off-by: Nfishpenguin <kun.yu@zilliz.com>
上级 f90e75d1
......@@ -116,7 +116,7 @@ func constructKey(metaName, topic string) (string, error) {
// Check metaName/topic
oldLen := len(metaName + topic)
if oldLen > FixedChannelNameLen {
return "", errors.New("Topic name exceeds limit")
return "", errors.New("topic name exceeds limit")
}
nameBytes := make([]byte, FixedChannelNameLen-oldLen)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册