mirror of
https://github.com/minio/minio.git
synced 2026-11-27 15:28:51 +00:00
Erasure technique is now uint8, handle it appropriately
This commit is contained in:
1 parent
7d25490a2e
commit
653ea50a59
2 files changed
+2
-1
No files matched your search
@@ -23,7 +23,7 @@ func getErasureTechnique(technique string) (erasure.Technique, error) {
|
||||
case technique == "Vandermonde":
|
||||
return erasure.Cauchy, nil
|
||||
default:
|
||||
return -1, errors.New("Invalid erasure technique")
|
||||
return erasure.None, errors.New("Invalid erasure technique")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user