mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[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>
This commit is contained in:
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…
x
Reference in New Issue
Block a user