mirror of
https://github.com/minio/minio.git
synced 2024-12-23 21:55:53 -05:00
Fix function name change
This commit is contained in:
parent
980ad3b373
commit
5074542636
@ -75,7 +75,7 @@ func main() {
|
||||
}
|
||||
|
||||
// set up encoder
|
||||
erasureParameters, _ := erasure.ValidateParams(k, m, 8, erasure.CAUCHY)
|
||||
erasureParameters, _ := erasure.ParseEncoderParams(k, m, erasure.CAUCHY)
|
||||
|
||||
// decode data
|
||||
decodedData, err := erasure.Decode(chunks, erasureParameters, length)
|
||||
|
@ -70,7 +70,7 @@ func main() {
|
||||
}
|
||||
|
||||
// set up encoder
|
||||
erasureParameters, _ := erasure.ValidateParams(k, m, 8, erasure.CAUCHY)
|
||||
erasureParameters, _ := erasure.ParseEncoderParams(k, m, erasure.CAUCHY)
|
||||
// encode data
|
||||
encodedData, length := erasure.Encode(input, erasureParameters)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user