From 34cb4ebd3bc1d7aaa263929c7ae27ac46298b285 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 9 Jan 2026 05:31:38 +0900 Subject: internal/pkg: pass context to file cure This removes the left over embedded contexts. Signed-off-by: Ophestra --- internal/pkg/file.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'internal/pkg/file.go') diff --git a/internal/pkg/file.go b/internal/pkg/file.go index 50a161a4..fdff7351 100644 --- a/internal/pkg/file.go +++ b/internal/pkg/file.go @@ -1,6 +1,7 @@ package pkg import ( + "context" "crypto/sha512" ) @@ -31,4 +32,4 @@ func (a fileArtifact) Checksum() Checksum { } // Cure returns the caller-supplied data. -func (a fileArtifact) Cure() ([]byte, error) { return a, nil } +func (a fileArtifact) Cure(context.Context) ([]byte, error) { return a, nil } -- cgit v1.3.1