mirror of
https://github.com/rclone/rclone.git
synced 2024-11-30 04:23:48 +08:00
backend/b2: remove unused largeUpload.clearUploadURL()
This commit is contained in:
parent
c227a90b52
commit
a6a2eec392
|
@ -184,13 +184,6 @@ func (up *largeUpload) returnUploadURL(upload *api.GetUploadPartURLResponse) {
|
||||||
up.uploadMu.Unlock()
|
up.uploadMu.Unlock()
|
||||||
}
|
}
|
||||||
|
|
||||||
// clearUploadURL clears the current UploadURL and the AuthorizationToken
|
|
||||||
func (up *largeUpload) clearUploadURL() {
|
|
||||||
up.uploadMu.Lock()
|
|
||||||
up.uploads = nil
|
|
||||||
up.uploadMu.Unlock()
|
|
||||||
}
|
|
||||||
|
|
||||||
// Transfer a chunk
|
// Transfer a chunk
|
||||||
func (up *largeUpload) transferChunk(ctx context.Context, part int64, body []byte) error {
|
func (up *largeUpload) transferChunk(ctx context.Context, part int64, body []byte) error {
|
||||||
err := up.f.pacer.Call(func() (bool, error) {
|
err := up.f.pacer.Call(func() (bool, error) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user