mirror of
https://github.com/containerd/containerd.git
synced 2026-08-12 12:14:44 +00:00
Error strings should not be capitalized (unless beginning with proper nouns or acronyms) or end with punctuation, per Go style guide and staticcheck ST1005. This change lowercases the first letter of error messages in fmt.Errorf calls throughout the codebase, while preserving uppercase for acronyms at the start of error strings (e.g., NRI, RDT, CDI, UID, GID, VHD, FUSE). Also fixes typo 'faild' -> 'failed' in resolver_test.go. Changes: - core/metadata: target.Digest, target.Size, target.MediaType - core/remotes/docker: fetcher.Seek, fetcherByDigest - integration: various test error messages - internal/cri/server: containerConfig - plugins/snapshots: erofs Fixes #12011 Signed-off-by: Aadhar Agarwal <aadagarwal@microsoft.com>