appease the linter
1 file changed, 4 insertions(+), 1 deletion(-)
changed files
M internal/storage/sqlite/writer.go → internal/storage/sqlite/writer.go
@@ -192,7 +192,10 @@ } func etag(content []byte) (string, errors.E) { hash := fnv.New64a() - hash.Write(content) + _, err := hash.Write(content) + if err != nil { + return "", errors.WithStack(err) + } return fmt.Sprintf(`W/"%x"`, hash.Sum(nil)), nil }