mirror of
https://github.com/minio/minio.git
synced 2026-11-13 14:44:19 +00:00
run gofumpt cleanup across code-base (#14015)
This commit is contained in:
1 parent
6f474982ed
commit
f527c708f2
250 files changed
+1201
-1264
No files matched your search
+1
-1
@@ -417,7 +417,7 @@ func (er erasureObjects) nsScanner(ctx context.Context, buckets []BucketInfo, bf
|
||||
saverWg.Add(1)
|
||||
go func() {
|
||||
// Add jitter to the update time so multiple sets don't sync up.
|
||||
var updateTime = 30*time.Second + time.Duration(float64(10*time.Second)*rand.Float64())
|
||||
updateTime := 30*time.Second + time.Duration(float64(10*time.Second)*rand.Float64())
|
||||
t := time.NewTicker(updateTime)
|
||||
defer t.Stop()
|
||||
defer saverWg.Done()
|
||||
|
||||
Reference in new issue
Block a user