From 99737d30e2ca2c42ce40a1326b7c7d8679a71f2f Mon Sep 17 00:00:00 2001 From: jaime Date: Mon, 20 Dec 2021 22:47:07 +0800 Subject: [PATCH] [skip e2e] Fix golint in data_codec (#13804) Signed-off-by: yun.zhang Co-authored-by: yun.zhang --- internal/storage/data_codec.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/storage/data_codec.go b/internal/storage/data_codec.go index b18d2a1ed5..816e773297 100644 --- a/internal/storage/data_codec.go +++ b/internal/storage/data_codec.go @@ -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] }