mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
run gofumpt cleanup across code-base (#14015)
This commit is contained in:
@@ -137,7 +137,7 @@ func (o *listPathOptions) debugln(data ...interface{}) {
|
||||
// The returned function will return the results once there is enough or input is closed,
|
||||
// or the context is canceled.
|
||||
func (o *listPathOptions) gatherResults(ctx context.Context, in <-chan metaCacheEntry) func() (metaCacheEntriesSorted, error) {
|
||||
var resultsDone = make(chan metaCacheEntriesSorted)
|
||||
resultsDone := make(chan metaCacheEntriesSorted)
|
||||
// Copy so we can mutate
|
||||
resCh := resultsDone
|
||||
var done bool
|
||||
@@ -218,7 +218,7 @@ func (o *listPathOptions) findFirstPart(fi FileInfo) (int, error) {
|
||||
}
|
||||
o.debugln("searching for ", search)
|
||||
var tmp metacacheBlock
|
||||
var json = jsoniter.ConfigCompatibleWithStandardLibrary
|
||||
json := jsoniter.ConfigCompatibleWithStandardLibrary
|
||||
i := 0
|
||||
for {
|
||||
partKey := fmt.Sprintf("%s-metacache-part-%d", ReservedMetadataPrefixLower, i)
|
||||
|
||||
Reference in New Issue
Block a user