From 7c2a9f12fd7e3be32e761e5ad3e5521acb750521 Mon Sep 17 00:00:00 2001 From: Krau <71133316+krau@users.noreply.github.com> Date: Sat, 17 Jan 2026 21:24:15 +0800 Subject: [PATCH] Update core/tasks/batchimport/execute.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- core/tasks/batchimport/execute.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tasks/batchimport/execute.go b/core/tasks/batchimport/execute.go index 6782c7f..e0eb842 100644 --- a/core/tasks/batchimport/execute.go +++ b/core/tasks/batchimport/execute.go @@ -69,7 +69,7 @@ func (t *Task) Execute(ctx context.Context) error { func (t *Task) processElement(ctx context.Context, elem TaskElement) error { logger := log.FromContext(ctx).WithPrefix(fmt.Sprintf("file[%s]", elem.FileInfo.Name)) - // 检查源存储是否支持读取 + // Check whether the source storage supports reading readableStorage, ok := elem.SourceStorage.(storage.StorageReadable) if !ok { return fmt.Errorf("source storage %s does not support reading", elem.SourceStorage.Name())