Fix function name change

master
Harshavardhana 10 years ago
parent 980ad3b373
commit 5074542636
  1. 2
      cmd/minio-decode/main.go
  2. 2
      cmd/minio-encode/main.go

@ -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…
Cancel
Save