mirror of
https://github.com/distribution/distribution.git
synced 2025-09-01 23:17:33 +00:00
Merge pull request #3839 from kirat-singh/feature.azure-sdk-update
Update Azure SDK and support additional authentication schemes
This commit is contained in:
@@ -1425,7 +1425,7 @@ func (w *writer) Close() error {
|
||||
return w.flushPart()
|
||||
}
|
||||
|
||||
func (w *writer) Cancel() error {
|
||||
func (w *writer) Cancel(ctx context.Context) error {
|
||||
if w.closed {
|
||||
return fmt.Errorf("already closed")
|
||||
} else if w.committed {
|
||||
|
Reference in New Issue
Block a user