diff --git a/.golangci.yml b/.golangci.yml index 5c8c5b3..cad39dc 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -5,7 +5,7 @@ run: linters: disable-all: true enable: - - exportloopref + - copyloopvar - errcheck - gci - goconst diff --git a/common_test.go b/common_test.go index 742d772..f6e6f54 100644 --- a/common_test.go +++ b/common_test.go @@ -186,5 +186,5 @@ func int642Bytes(i int64) []byte { } func bytes2Int64(buf []byte) int64 { - return int64(binary.BigEndian.Uint64(buf)) + return int64(binary.BigEndian.Uint64(buf)) //nolint:gosec } diff --git a/tools/Dockerfile b/tools/Dockerfile index af5be3a..c4f7ec8 100644 --- a/tools/Dockerfile +++ b/tools/Dockerfile @@ -18,7 +18,7 @@ RUN apt update \ libleveldb-dev libleveldb1d FROM build AS install -ARG ROCKSDB=8.11.3 +ARG ROCKSDB=9.3.1 # Install Rocksdb RUN \