From 5074542636fe3f231fd2a57141be05943d129a53 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Sat, 29 Nov 2014 17:29:38 -0800 Subject: [PATCH] Fix function name change --- cmd/minio-decode/main.go | 2 +- cmd/minio-encode/main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/minio-decode/main.go b/cmd/minio-decode/main.go index 2a8ce2c50..29ff43e05 100644 --- a/cmd/minio-decode/main.go +++ b/cmd/minio-decode/main.go @@ -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) diff --git a/cmd/minio-encode/main.go b/cmd/minio-encode/main.go index d8db1014e..3eaa8fe3f 100644 --- a/cmd/minio-encode/main.go +++ b/cmd/minio-encode/main.go @@ -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)