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