mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00: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.go | ||
fastqueue_test.go | ||
fastqueue_timing_test.go | ||
filenames.go | ||
persistentqueue.go | ||
persistentqueue_test.go | ||
persistentqueue_timing_test.go |