From 8c3700e4a547ccf8fb8d6d215755028771ac3b80 Mon Sep 17 00:00:00 2001 From: Marius Kleidl Date: Thu, 14 Dec 2023 08:47:19 +0100 Subject: [PATCH] fixup! handler: Fix panic on GOARCH=386 --- pkg/handler/body_reader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/handler/body_reader.go b/pkg/handler/body_reader.go index 8f8d2e3f7..78313d536 100644 --- a/pkg/handler/body_reader.go +++ b/pkg/handler/body_reader.go @@ -19,7 +19,7 @@ import ( // the error but this can instead be done in the handler. // In addition, the bodyReader keeps track of how many bytes were read. type bodyReader struct { - // bytesCounter is the first field to ensure that its properly aligned, + // bytesCounter is the first field to ensure that it's properly aligned, // otherwise we run into alignment issues on some 32-bit builds. // See https://github.com/tus/tusd/issues/1047 // See https://pkg.go.dev/sync/atomic#pkg-note-BUG