Skip to content

Commit 5123540

Browse files
committed
staticcheck cleanup
1 parent f6bdbd9 commit 5123540

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • sdks/go/pkg/beam/core/runtime/exec

sdks/go/pkg/beam/core/runtime/exec/hash.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ func newNumberHasher(hash hash.Hash64, we WindowEncoder) *numberHasher {
124124
hash: hash,
125125
we: we,
126126
// Pre allocate slice to avoid re-allocations.
127-
cache: make([]byte, 8, 8),
127+
cache: make([]byte, 8),
128128
}
129129
}
130130

0 commit comments

Comments
 (0)