mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
fix: optimize DiskInfo() call avoid metrics when not needed (#17763)
This commit is contained in:
@@ -27,7 +27,7 @@ import (
|
||||
)
|
||||
|
||||
func TestFree(t *testing.T) {
|
||||
di, err := disk.GetInfo(t.TempDir())
|
||||
di, err := disk.GetInfo(t.TempDir(), true)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user