mirror of
https://github.com/minio/minio.git
synced 2026-11-25 07:21:49 +00:00
Rename parms as --> params for brevity and misc cleanup
This commit is contained in:
1 parent
9d5a6329ba
commit
b8e9834faa
4 files changed
+14
-10
No files matched your search
@@ -37,8 +37,8 @@ func (e *Encoder) Decode(chunks [][]byte, length int) ([]byte, error) {
|
||||
var decode_index *C.uint32_t
|
||||
var source, target **C.uint8_t
|
||||
|
||||
k := e.parms.K
|
||||
m := e.parms.M
|
||||
k := e.params.K
|
||||
m := e.params.M
|
||||
n := k + m
|
||||
if len(chunks) != int(n) {
|
||||
return nil, errors.New(fmt.Sprintf("chunks length must be %d", n))
|
||||
|
||||
Reference in new issue
Block a user