diff --git a/routers/api/packages/container/container.go b/routers/api/packages/container/container.go index b6b2a8164..78f884a7d 100644 --- a/routers/api/packages/container/container.go +++ b/routers/api/packages/container/container.go @@ -371,7 +371,7 @@ func getBlobFromContext(ctx *context.Context) (*packages_model.PackageFileDescri // https://github.com/opencontainers/distribution-spec/blob/main/spec.md#checking-if-content-exists-in-the-registry func HeadBlob(ctx *context.Context) { blob, err := getBlobFromContext(ctx) - fmt.Println("HeadBlob: ", blob.File.CompositeKey) + fmt.Println("HeadBlob: ", ctx.Params("digest")) if err != nil { fmt.Println("getBlobFromContext err: ", err.Error()) if err == container_model.ErrContainerBlobNotExist {