diff --git a/cmd/index.go b/cmd/index.go index 93c4af0..4f4e006 100644 --- a/cmd/index.go +++ b/cmd/index.go @@ -20,7 +20,7 @@ import ( "github.com/golang/snappy" "github.com/julienschmidt/httprouter" "github.com/klauspost/compress/zstd" - lz4 "github.com/pierrec/lz4/v4" + "github.com/pierrec/lz4/v4" "seedno.de/seednode/roulette/types" ) @@ -236,7 +236,6 @@ func (index *fileIndex) Import(path string) error { if err != nil { return err } - //defer reader.Close() dec := gob.NewDecoder(reader) diff --git a/cmd/root.go b/cmd/root.go index 9ed1ac6..350f80e 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -15,7 +15,7 @@ import ( const ( AllowedCharacters string = `^[A-z0-9.\-_]+$` - ReleaseVersion string = "3.12.0" + ReleaseVersion string = "3.12.1" ) var (