mirror of
https://github.com/minio/minio.git
synced 2025-11-29 05:19:03 -05:00
Simplify and cleanup metadata r/w functions (#8146)
This commit is contained in:
committed by
kannappanr
parent
a7be313230
commit
53e4887e02
@@ -449,7 +449,7 @@ func checkAtimeSupport(dir string) (err error) {
|
||||
func (c *cacheObjects) migrateCacheFromV1toV2(ctx context.Context) {
|
||||
logger.StartupMessage(colorBlue("Cache migration initiated ...."))
|
||||
|
||||
var wg = &sync.WaitGroup{}
|
||||
var wg sync.WaitGroup
|
||||
errs := make([]error, len(c.cache))
|
||||
for i, dc := range c.cache {
|
||||
if dc == nil {
|
||||
|
||||
Reference in New Issue
Block a user