mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
fix: allow expansion with newer constraints for older setups (#11372)
currently we had a restriction where older setups would need to follow previous style of "stripe" count being same expansion, we can relax that instead newer pools can be expanded for older setups with newer constraints of common parity ratio.
This commit is contained in:
@@ -267,7 +267,7 @@ func TestCheckFormatErasureValue(t *testing.T) {
|
||||
|
||||
// Valid all test cases.
|
||||
for i, testCase := range testCases {
|
||||
if err := checkFormatErasureValue(testCase.format); err != nil && testCase.success {
|
||||
if err := checkFormatErasureValue(testCase.format, nil); err != nil && testCase.success {
|
||||
t.Errorf("Test %d: Expected failure %s", i+1, err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user