From 175c9721d4353dfbdff620a4032224db150e5372 Mon Sep 17 00:00:00 2001 From: Lemon-miaow Date: Fri, 25 Sep 2026 10:57:21 +0800 Subject: [PATCH] =?UTF-8?q?style(offsite):=20=E6=B8=85=E5=8D=95=E6=8F=8F?= =?UTF-8?q?=E8=BF=B0=E7=AC=A6=E7=9B=B4=E6=8E=A5=E8=BD=AC=E6=8D=A2=E6=88=90?= =?UTF-8?q?=20ImageBlob=EF=BC=8C=E6=B6=88=E9=99=A4=20staticcheck=20S1016?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/offsite/images.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/offsite/images.go b/internal/offsite/images.go index 53a2a13..50513c3 100644 --- a/internal/offsite/images.go +++ b/internal/offsite/images.go @@ -188,7 +188,7 @@ func describeManifest(body []byte, mediaType string) (ImageManifest, error) { return ImageManifest{}, err } if !slices.ContainsFunc(im.Blobs, func(b ImageBlob) bool { return b.Digest == d.Digest }) { - im.Blobs = append(im.Blobs, ImageBlob{Digest: d.Digest, Size: d.Size}) + im.Blobs = append(im.Blobs, ImageBlob(d)) } } default: