mirror of
https://github.com/minio/minio.git
synced 2026-02-04 18:00:15 -05:00
fix: optimize DiskInfo() call avoid metrics when not needed (#17763)
This commit is contained in:
@@ -53,6 +53,7 @@ type DiskInfo struct {
|
||||
Endpoint string
|
||||
MountPath string
|
||||
ID string
|
||||
Rotational bool
|
||||
Metrics DiskMetrics
|
||||
Error string // carries the error over the network
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user