mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -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() {
|
||||
defer globalOSMetrics.time(osMetricSync)
|
||||
defer globalOSMetrics.time(osMetricSync)()
|
||||
syscall.Sync()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user