From 60ec0583123eb1c61fb92bfdccab45c05fd19117 Mon Sep 17 00:00:00 2001 From: tam-i13 <46927823+tam-i13@users.noreply.github.com> Date: Fri, 21 Nov 2025 10:55:29 +0300 Subject: [PATCH] Update weed/filer/filer.go Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- weed/filer/filer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/filer/filer.go b/weed/filer/filer.go index 8587ba277..3584abb1e 100644 --- a/weed/filer/filer.go +++ b/weed/filer/filer.go @@ -373,7 +373,7 @@ func (f *Filer) doListDirectoryEntries(ctx context.Context, p util.FullPath, sta select { case <-ctx.Done(): glog.Errorf("Context is done.") - return false, fmt.Errorf("Context is done. Error : %s", ctx.Err()) +return false, fmt.Errorf("context canceled: %w", ctx.Err()) default: if entry.TtlSec > 0 { if entry.IsExpireS3Enabled() {