mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 16:30:55 +01:00
cf4701db65
Use fs.MustReadDir() instead of os.ReadDir() across the code in order to reduce the code verbosity. The fs.MustReadDir() logs the error with the directory name and the call stack on error before exit. This information should be enough for debugging the cause of the error. |
||
---|---|---|
.. | ||
fastqueue_test.go | ||
fastqueue_timing_test.go | ||
fastqueue.go | ||
filenames.go | ||
persistentqueue_test.go | ||
persistentqueue_timing_test.go | ||
persistentqueue.go |