mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 22:14:05 +01:00
build: fix lint issue: should omit type error from declaration
This commit is contained in:
committed by
Nick Craig-Wood
parent
115cff3007
commit
d4be38ec02
@@ -14,7 +14,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// errFileNotFound represent file not found error
|
// errFileNotFound represent file not found error
|
||||||
var errFileNotFound error = errors.New("file not found")
|
var errFileNotFound = errors.New("file not found")
|
||||||
|
|
||||||
// getFileCode retrieves the file code for a given file path
|
// getFileCode retrieves the file code for a given file path
|
||||||
func (f *Fs) getFileCode(ctx context.Context, filePath string) (string, error) {
|
func (f *Fs) getFileCode(ctx context.Context, filePath string) (string, error) {
|
||||||
|
|||||||
@@ -6641,7 +6641,7 @@ func (o *Object) uploadMultipart(ctx context.Context, src fs.ObjectInfo, in io.R
|
|||||||
return wantETag, gotETag, versionID, ui, err
|
return wantETag, gotETag, versionID, ui, err
|
||||||
}
|
}
|
||||||
|
|
||||||
var s3cw *s3ChunkWriter = chunkWriter.(*s3ChunkWriter)
|
s3cw := chunkWriter.(*s3ChunkWriter)
|
||||||
gotETag = *stringClone(s3cw.eTag)
|
gotETag = *stringClone(s3cw.eTag)
|
||||||
versionID = stringClone(s3cw.versionID)
|
versionID = stringClone(s3cw.versionID)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user