mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05:00
Merge pull request #56 from harshavardhana/pr_out_fix_function_name_change
Fix function name change
This commit is contained in:
commit
a37bb693ba
@ -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