working commit

This commit is contained in:
2026-03-10 12:52:12 +02:00
parent d0a5fab362
commit d1ef1fbe50
42 changed files with 242 additions and 426 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ import (
"strconv"
)
func (cli *Client) PutUpload(ctx context.Context, rawrepo string, src io.Reader, uploc, digest string, size int64) (string, error) {
func (cli *Client) PutUpload(ctx context.Context, rawrepo string, src io.Reader, id, digest string, size int64) (string, error) {
var err error
var bloc string
@@ -16,7 +16,7 @@ func (cli *Client) PutUpload(ctx context.Context, rawrepo string, src io.Reader,
if err != nil {
return bloc, err
}
uri, err := ref.Put(uploc, digest)
uri, err := ref.PutEP(id, digest)
if err != nil {
return bloc, err
}