mirror of
https://github.com/minio/minio.git
synced 2025-11-20 09:56:07 -05:00
fix: startup load time by reusing storageDisks (#9210)
This commit is contained in:
@@ -172,6 +172,10 @@ func (client *storageRESTClient) CrawlAndGetDataUsage(ctx context.Context, cache
|
||||
return newCache, newCache.deserialize(b)
|
||||
}
|
||||
|
||||
func (client *storageRESTClient) GetDiskID() (string, error) {
|
||||
return client.diskID, nil
|
||||
}
|
||||
|
||||
func (client *storageRESTClient) SetDiskID(id string) {
|
||||
client.diskID = id
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user