From 32d1a00017cd2219173945cd56e6409279767d7e Mon Sep 17 00:00:00 2001 From: Michael Yang Date: Tue, 22 Aug 2023 08:51:21 -0700 Subject: [PATCH] remove unused requestContextKey --- server/images.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/images.go b/server/images.go index eefa6da7..e727d280 100644 --- a/server/images.go +++ b/server/images.go @@ -1137,8 +1137,6 @@ func GetSHA256Digest(r io.Reader) (string, int) { return fmt.Sprintf("sha256:%x", h.Sum(nil)), int(n) } -type requestContextKey string - // Function to check if a blob already exists in the Docker registry func checkBlobExistence(ctx context.Context, mp ModelPath, digest string, regOpts *RegistryOptions) (bool, error) { requestURL := mp.BaseURL()