mirror of
https://github.com/pgsty/minio.git
synced 2026-03-16 17:53:43 +01:00
GetDiskID() in storage rest client does not really issue a REST request to the remote disk, but returns an in-memory value instead. However, GetDiskID() should return an error when format.json is not found or for other similar issues (unmounted disks, etc..) GetDiskID() is only called when formatting disks and getting storage informatio, hence this commit should not have a performance degradation.
17 KiB
17 KiB