[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
jaime 2021-12-20 22:47:07 +08:00 committed by GitHub
parent 7723d7b571
commit 99737d30e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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]
}