mirror of
https://github.com/minio/minio.git
synced 2025-11-09 21:49:46 -05:00
Add context to the object-interface methods.
Make necessary changes to xl fs azure sia
This commit is contained in:
committed by
kannappanr
parent
9083bc152e
commit
e452377b24
@@ -83,7 +83,7 @@ func (lc localAdminClient) ReInitFormat(dryRun bool) error {
|
||||
if objectAPI == nil {
|
||||
return errServerNotInitialized
|
||||
}
|
||||
_, err := objectAPI.HealFormat(dryRun)
|
||||
_, err := objectAPI.HealFormat(nil, dryRun)
|
||||
return err
|
||||
}
|
||||
|
||||
@@ -137,7 +137,7 @@ func (lc localAdminClient) ServerInfoData() (sid ServerInfoData, e error) {
|
||||
if objLayer == nil {
|
||||
return sid, errServerNotInitialized
|
||||
}
|
||||
storage := objLayer.StorageInfo()
|
||||
storage := objLayer.StorageInfo(nil)
|
||||
|
||||
return ServerInfoData{
|
||||
StorageInfo: storage,
|
||||
|
||||
Reference in New Issue
Block a user