mirror of
https://github.com/tgdrive/teldrive.git
synced 2025-01-09 00:29:57 +08:00
refactor: fix typo in decrypted reader
This commit is contained in:
parent
1353ae7bd2
commit
713d7a8fe7
2 changed files with 2 additions and 11 deletions
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
|
@ -19,15 +19,6 @@ jobs:
|
|||
with:
|
||||
go-version: stable
|
||||
|
||||
- name: Go module cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/go/pkg/mod
|
||||
key: ${{ runner.os }}-go
|
||||
restore-keys: |
|
||||
${{ runner.os }}-go
|
||||
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
|
@ -42,7 +33,7 @@ jobs:
|
|||
uses: goreleaser/goreleaser-action@v6
|
||||
with:
|
||||
distribution: goreleaser
|
||||
version: '~> v2'
|
||||
version: latest
|
||||
args: release --clean
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@ -114,7 +114,7 @@ func (r *decrpytedReader) nextPart() (io.ReadCloser, error) {
|
|||
client: r.client, concurrency: r.concurrency}
|
||||
|
||||
if r.concurrency < 2 {
|
||||
return newTGReader(r.ctx, start, end, chunkSrc)
|
||||
return newTGReader(r.ctx, underlyingOffset, end, chunkSrc)
|
||||
}
|
||||
return newTGMultiReader(r.ctx, underlyingOffset, end, r.config, chunkSrc)
|
||||
|
||||
|
|
Loading…
Reference in a new issue