mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-25 06:16:58 +00:00
more linting issues
This commit is contained in:
parent
7c68a59f39
commit
de9c37d72b
2 changed files with 8 additions and 2 deletions
|
@ -61,6 +61,6 @@ func getTestHTTPSClient() *http.Client {
|
|||
|
||||
func getSize(stream io.Reader) int {
|
||||
buf := new(bytes.Buffer)
|
||||
buf.ReadFrom(stream)
|
||||
_, _ = buf.ReadFrom(stream)
|
||||
return buf.Len()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue