cmd: fix inconsistent function name in comment

Signed-off-by: tzchenxixi <tzchenxixi@icloud.com>
This commit is contained in:
tzchenxixi 2025-08-26 19:45:47 +08:00
parent 27d4a10185
commit fdcabcf2be

View file

@ -152,7 +152,7 @@ func (st *bucketStats) print(name string) {
name, st.count, float64(st.blocks)/float64(st.count), float64(st.logs)/float64(st.count), st.runtime/time.Duration(st.count))
}
// writeQueries serializes the generated errors to the error file.
// writeErrors serializes the generated errors to the error file.
func writeErrors(errorFile string, errors []*filterQuery) {
file, err := os.Create(errorFile)
if err != nil {