From 855ef4f1aa1a6a4974e48306568c1d4e85a4b50f Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Thu, 22 Dec 2016 10:47:10 -0800 Subject: [PATCH] Fix typo in erasure-utils.go --- cmd/erasure-utils.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/erasure-utils.go b/cmd/erasure-utils.go index 5897d5e02..c9b5f2f28 100644 --- a/cmd/erasure-utils.go +++ b/cmd/erasure-utils.go @@ -47,14 +47,14 @@ func newHash(algo string) (h hash.Hash) { case "blake2b": // ignore the error, because New512 without a key never fails // New512 only returns a non-nil error, if the length of the passed - // key > 64 bytes - but we use blake2b as hash fucntion (no key) + // key > 64 bytes - but we use blake2b as hash function (no key) h, _ = blake2b.New512(nil) // Add new hashes here. default: // Default to blake2b. // ignore the error, because New512 without a key never fails // New512 only returns a non-nil error, if the length of the passed - // key > 64 bytes - but we use blake2b as hash fucntion (no key) + // key > 64 bytes - but we use blake2b as hash function (no key) h, _ = blake2b.New512(nil) } return h