Fixes #219 - use the default to catch personalities that are unknown
Assumes all raid configurations start with raid and that anything else is unknown.
This commit is contained in:
parent
bb2b984030
commit
00c9a88a55
3 changed files with 37 additions and 8 deletions
|
|
@ -36,6 +36,7 @@ func TestMdadm(t *testing.T) {
|
|||
"md10": {"md10", true, 2, 2, 314159265, 314159265},
|
||||
"md11": {"md11", true, 2, 2, 4190208, 4190208},
|
||||
"md12": {"md12", true, 2, 2, 3886394368, 3886394368},
|
||||
"md219": {"md219", false, 2, 2, 7932, 7932},
|
||||
}
|
||||
|
||||
for _, md := range mdStates {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue