Fix NoSuchKey error caused by special stats log (#24670)

Signed-off-by: sunby <bingyi.sun@zilliz.com>
Co-authored-by: sunby <bingyi.sun@zilliz.com>
This commit is contained in:
Bingyi Sun 2023-06-06 17:34:36 +08:00 committed by GitHub
parent ea62922829
commit b71c967ed7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ const (
) )
func (s StatsLogType) LogIdx() string { func (s StatsLogType) LogIdx() string {
return fmt.Sprintf("0%d", s) return fmt.Sprintf("%d", s)
} }
type FileReader interface { type FileReader interface {