mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-01 03:18:29 +08:00
[skip ci]Fix golint (#12481)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
parent
f90e75d19d
commit
fea1126946
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user