Merge pull request #56 from harshavardhana/pr_out_fix_function_name_change

Fix function name change
master
Harshavardhana 10 years ago
commit a37bb693ba
  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