go vet: unreachable code

This commit is contained in:
Michael Cook
2018-11-07 13:25:16 +01:00
parent a782d42ad6
commit 4b9524bd43
2 changed files with 2 additions and 7 deletions

View File

@@ -237,8 +237,6 @@ func (storage *S3Storage) UploadFile(threadIndex int, filePath string, content [
LOG_INFO("S3_RETRY", "Retrying on %s: %v", reflect.TypeOf(err), err)
attempts += 1
}
return err
}
// If a local snapshot cache is needed for the storage to avoid downloading/uploading chunks too often when