-
fix: [2.6] add missing fmt import in datacoord task_index.go (#50765)
发布于
2026-06-25 00:46:27 +00:00 | 1145 次提交 在此版本后已推送到 masterissue: #50764
The
2.6branch CI is currently failing to compile (build-go) at
cce25693c6:internal/datacoord/task_index.go:332:41: undefined: fmt internal/datacoord/task_index.go:355:41: undefined: fmt make: *** [Makefile:113: build-go] Error 1Root cause — merge-order conflict
- #50545 (merr error-handling standardization) replaced every
fmt.*
use intask_index.gowithmerr.*and dropped the then-unusedfmt
import. - #50727 (ArrayOfVector EmbList indexes) then added two new
fmt.Sprintfcalls but did not re-add thefmtimport.
Each PR compiled in isolation, but the merged tree did not. This is the
same class of failure as #50756.Fix
Re-add the
fmtimport tointernal/datacoord/task_index.go,
unblocking the 2.6 branch build.gofmtclean; the import has two real
usages so it is not unused.🤖 Generated with Claude Code
Signed-off-by: Li Liu li.liu@zilliz.com
Co-authored-by: Claude Opus 4.8 (1M context) noreply@anthropic.com下载附件
- #50545 (merr error-handling standardization) replaced every