VictoriaMetrics/lib/persistentqueue
Aliaksandr Valialkin 2c3a89339d
all: use os.ReadDir instead of ioutil.ReadDir
The ioutil.ReadDir is deprecated since Go1.16 - see https://tip.golang.org/doc/go1.16#ioutil
VictoriaMetrics requires at least Go1.18, so it is time to switch from io.ReadDir to os.ReadDir

This is a follow-up for 02ca2342ab
2022-08-22 00:02:25 +03:00
..
fastqueue_test.go all: fix golangci-lint issues 2020-03-10 19:41:46 +02:00
fastqueue_timing_test.go all: properly handle CPU limits set on the host system/container 2020-12-08 21:07:29 +02:00
fastqueue.go all: add support for Prometheus staleness markers 2021-08-13 12:10:17 +03:00
persistentqueue_test.go all: use os.{Read|Write}File instead of ioutil.{Read|Write}File 2022-08-21 23:52:35 +03:00
persistentqueue_timing_test.go lib/persistentqueue: delete corrupted persistent queue instead of throwing a fatal error 2021-04-05 19:26:11 +03:00
persistentqueue.go all: use os.ReadDir instead of ioutil.ReadDir 2022-08-22 00:02:25 +03:00