VictoriaMetrics/lib/persistentqueue
Aliaksandr Valialkin 88e0fe9469
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:04:09 +03:00
..
fastqueue_test.go all: fix golangci-lint issues 2020-03-10 19:40:03 +02:00
fastqueue_timing_test.go all: properly handle CPU limits set on the host system/container 2020-12-08 21:07:03 +02:00
fastqueue.go all: add support for Prometheus staleness markers 2021-08-13 12:13:15 +03:00
persistentqueue_test.go all: use os.{Read|Write}File instead of ioutil.{Read|Write}File 2022-08-21 23:55:20 +03:00
persistentqueue_timing_test.go lib/persistentqueue: delete corrupted persistent queue instead of throwing a fatal error 2021-04-05 19:26:51 +03:00
persistentqueue.go all: use os.ReadDir instead of ioutil.ReadDir 2022-08-22 00:04:09 +03:00