mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05:00
fix: syscall to record time on non-linux (#17383)
This commit is contained in:
parent
26a0803388
commit
3d6b88a60e
@ -157,6 +157,6 @@ func readDirWithOpts(dirPath string, opts readDirOpts) (entries []string, err er
|
||||
|
||||
func globalSync() {
|
||||
// no-op not sure about plan9/solaris support for syscall support
|
||||
defer globalOSMetrics.time(osMetricSync)
|
||||
defer globalOSMetrics.time(osMetricSync)()
|
||||
syscall.Sync()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user