enhance: Fix typo 'dimesion' to 'dimension' in PreExecute method (#42160)

This PR fixes a minor typo in a log message in the `PreExecute` method
of `internal/datanode/index/task_index.go`.
Corrected "dimesion" to "dimension".

Signed-off-by: hckex <33862757+hckex@users.noreply.github.com>
This commit is contained in:
hckex 2025-05-29 13:24:30 +09:00 committed by GitHub
parent fdf5e05c80
commit 020d36624c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -189,7 +189,7 @@ func (it *indexBuildTask) PreExecute(ctx context.Context) error {
var err error
it.req.Dim, err = strconv.ParseInt(dimStr, 10, 64)
if err != nil {
log.Ctx(ctx).Error("parse dimesion failed", zap.Error(err))
log.Ctx(ctx).Error("parse dimension failed", zap.Error(err))
// ignore error
}
}