mirror of
https://github.com/minio/minio.git
synced 2024-12-25 06:35:56 -05:00
fix: can't get total disksize for decom status
(#19585)
This commit is contained in:
parent
5ea5ab162b
commit
ee1047bd52
@ -671,9 +671,7 @@ func applyDynamicConfigForSubSys(ctx context.Context, objAPI ObjectLayer, s conf
|
||||
configLogIf(ctx, fmt.Errorf("Unable to initialize storage class config: %w", err))
|
||||
break
|
||||
}
|
||||
// if we validated all setDriveCounts and it was successful
|
||||
// proceed to store the correct storage class globally.
|
||||
if i == len(setDriveCounts)-1 {
|
||||
if i == 0 {
|
||||
globalStorageClass.Update(sc)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user