mirror of
https://github.com/pgsty/minio.git
synced 2026-08-10 00:03:29 +03:00
Make use of LRU and higher order erasure functions
This commit is contained in:
+1
-1
@@ -108,6 +108,6 @@ func (e *Encoder) Decode(chunks [][]byte, length int) ([]byte, error) {
|
||||
return recovered_output[:length], nil
|
||||
}
|
||||
|
||||
func Decode(chunks [][]byte, ep EncoderParams, length int) (block []byte, err error) {
|
||||
func Decode(chunks [][]byte, ep *EncoderParams, length int) (block []byte, err error) {
|
||||
return GetEncoder(ep).Decode(chunks, length)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user