diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-03-22 22:13:19 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-03-22 22:13:19 -0700 |
| commit | 2f7c7afdec305caf2b1ea029f27b6e1b220ddc2d (patch) | |
| tree | df39d0c31a8315bf5841b723df2ed581979eb15f /weed/filer/filechunk_manifest.go | |
| parent | d48dd0c73855a0c459ddf2ab4225675b5df31728 (diff) | |
| download | seaweedfs-2f7c7afdec305caf2b1ea029f27b6e1b220ddc2d.tar.xz seaweedfs-2f7c7afdec305caf2b1ea029f27b6e1b220ddc2d.zip | |
refactor: remove unused parameter
Diffstat (limited to 'weed/filer/filechunk_manifest.go')
| -rw-r--r-- | weed/filer/filechunk_manifest.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/filer/filechunk_manifest.go b/weed/filer/filechunk_manifest.go index b4bfc6842..c709dc819 100644 --- a/weed/filer/filechunk_manifest.go +++ b/weed/filer/filechunk_manifest.go @@ -91,10 +91,10 @@ func fetchChunk(lookupFileIdFn wdclient.LookupFileIdFunctionType, fileId string, glog.Errorf("operation LookupFileId %s failed, err: %v", fileId, err) return nil, err } - return retriedFetchChunkData(urlStrings, cipherKey, isGzipped, true, false, 0, 0) + return retriedFetchChunkData(urlStrings, cipherKey, isGzipped, true, 0, 0) } -func retriedFetchChunkData(urlStrings []string, cipherKey []byte, isGzipped bool, isFullChunk bool, isCheck bool, offset int64, size int) ([]byte, error) { +func retriedFetchChunkData(urlStrings []string, cipherKey []byte, isGzipped bool, isFullChunk bool, offset int64, size int) ([]byte, error) { var err error var shouldRetry bool |
