mirror of
https://github.com/minio/minio.git
synced 2025-11-29 05:19:03 -05:00
log server startup messages to admin console api (#8264)
This commit is contained in:
@@ -446,7 +446,7 @@ func checkAtimeSupport(dir string) (err error) {
|
||||
return
|
||||
}
|
||||
func (c *cacheObjects) migrateCacheFromV1toV2(ctx context.Context) {
|
||||
logger.StartupMessage(colorBlue("Cache migration initiated ...."))
|
||||
logStartupMessage(colorBlue("Cache migration initiated ...."))
|
||||
|
||||
var wg sync.WaitGroup
|
||||
errs := make([]error, len(c.cache))
|
||||
@@ -482,7 +482,7 @@ func (c *cacheObjects) migrateCacheFromV1toV2(ctx context.Context) {
|
||||
c.migMutex.Lock()
|
||||
defer c.migMutex.Unlock()
|
||||
c.migrating = false
|
||||
logger.StartupMessage(colorBlue("Cache migration completed successfully."))
|
||||
logStartupMessage(colorBlue("Cache migration completed successfully."))
|
||||
}
|
||||
|
||||
// PutObject - caches the uploaded object for single Put operations
|
||||
|
||||
Reference in New Issue
Block a user