working commit
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user