diff --git a/Jenkinsfile b/Jenkinsfile index 8f172744..9dedd433 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -58,6 +58,7 @@ pipeline { sh 'check-errs ./...' sh './scripts/check-dependencies.sh' sh 'staticcheck ./...' + sh 'GOOS=linux GOARCH=arm staticcheck ./...' sh 'golangci-lint --config /go/ci/.golangci.yml -j=2 run' sh 'go-licenses check ./...' sh './scripts/check-libuplink-size.sh' diff --git a/private/storage/streams/buffer/backend.go b/private/storage/streams/buffer/backend.go index 28668ea2..49d0c90c 100644 --- a/private/storage/streams/buffer/backend.go +++ b/private/storage/streams/buffer/backend.go @@ -25,8 +25,8 @@ func NewMemoryBackend(cap int64) *MemoryBackend { // MemoryBackend implements the Backend interface backed by a slice. type MemoryBackend struct { - buf []byte len int64 + buf []byte closed bool }