Skip to content

Commit

Permalink
registry/handlers avoid calling buh.Upload.Close() on PUT
Browse files Browse the repository at this point in the history
  • Loading branch information
dhij committed Aug 17, 2023
1 parent 3a8a2e7 commit ab249c2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion registry/handlers/blobupload.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ func (buh *blobUploadHandler) PutBlobUploadComplete(w http.ResponseWriter, r *ht
buh.Errors = append(buh.Errors, v2.ErrorCodeBlobUploadUnknown)
return
}
defer buh.Upload.Close()

dgstStr := r.FormValue("digest") // TODO(stevvooe): Support multiple digest parameters!

Expand Down

0 comments on commit ab249c2

Please sign in to comment.