aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/google/uuid/hash.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/google/uuid/hash.go')
-rw-r--r--vendor/github.com/google/uuid/hash.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/google/uuid/hash.go b/vendor/github.com/google/uuid/hash.go
index b17461631..b404f4bec 100644
--- a/vendor/github.com/google/uuid/hash.go
+++ b/vendor/github.com/google/uuid/hash.go
@@ -26,8 +26,8 @@ var (
// NewMD5 and NewSHA1.
func NewHash(h hash.Hash, space UUID, data []byte, version int) UUID {
h.Reset()
- h.Write(space[:])
- h.Write(data)
+ h.Write(space[:]) //nolint:errcheck
+ h.Write(data) //nolint:errcheck
s := h.Sum(nil)
var uuid UUID
copy(uuid[:], s)