mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 12:31:07 +01:00
3727251910
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 |