remove unnecessary fmt.Sprintf
This commit is contained in:
parent
319f078dd9
commit
70e0ab6b3d
1 changed files with 1 additions and 4 deletions
|
@ -873,14 +873,11 @@ func checkBlobExistence(mp ModelPath, digest string, regOpts *RegistryOptions) (
|
|||
return resp.StatusCode == http.StatusOK, nil
|
||||
}
|
||||
|
||||
func uploadBlobChunked(mp ModelPath, location string, layer *Layer, regOpts *RegistryOptions, fn func(api.ProgressResponse)) error {
|
||||
func uploadBlobChunked(mp ModelPath, url string, layer *Layer, regOpts *RegistryOptions, fn func(api.ProgressResponse)) error {
|
||||
// TODO allow resumability
|
||||
// TODO allow canceling uploads via DELETE
|
||||
// TODO allow cross repo blob mount
|
||||
|
||||
// Create URL
|
||||
url := location
|
||||
|
||||
fp, err := GetBlobsPath(layer.Digest)
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
Loading…
Reference in a new issue