mirror of
https://github.com/minio/minio.git
synced 2025-11-09 13:39:46 -05:00
fix: time() returned function not being called as expected in globalSync() (#17319)
This commit is contained in:
@@ -340,6 +340,6 @@ func readDirWithOpts(dirPath string, opts readDirOpts) (entries []string, err er
|
|||||||
}
|
}
|
||||||
|
|
||||||
func globalSync() {
|
func globalSync() {
|
||||||
defer globalOSMetrics.time(osMetricSync)
|
defer globalOSMetrics.time(osMetricSync)()
|
||||||
syscall.Sync()
|
syscall.Sync()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user