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>
pull/24691/head
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
1 changed files with 1 additions and 1 deletions

View File

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