mirror of https://github.com/milvus-io/milvus.git
[skip e2e] Fix golint in data_codec (#13804)
Signed-off-by: yun.zhang <yun.zhang@zilliz.com> Co-authored-by: yun.zhang <yun.zhang@zilliz.com>pull/13817/head
parent
7723d7b571
commit
99737d30e2
|
@ -76,7 +76,7 @@ func (s BlobList) Len() int {
|
|||
return len(s)
|
||||
}
|
||||
|
||||
// Len implements Less in sort.Interface
|
||||
// Less implements Less in sort.Interface
|
||||
func (s BlobList) Less(i, j int) bool {
|
||||
leftValues := strings.Split(s[i].Key, "/")
|
||||
rightValues := strings.Split(s[j].Key, "/")
|
||||
|
@ -85,7 +85,7 @@ func (s BlobList) Less(i, j int) bool {
|
|||
return left < right
|
||||
}
|
||||
|
||||
// Len implements Swap in sort.Interface
|
||||
// Swap implements Swap in sort.Interface
|
||||
func (s BlobList) Swap(i, j int) {
|
||||
s[i], s[j] = s[j], s[i]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue