This commit is contained in:
Shreyas Goenka 2025-01-02 18:08:14 +05:30
parent 6991dea00b
commit 583637aed6
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ func putContentLength(path string, overwriteField string, file *os.File) (int64,
return int64(buf.Len()) + stat.Size(), nil
}
func contentLengthVisitor(path string, overwriteField string, file *os.File) func(*http.Request) error {
func contentLengthVisitor(path, overwriteField string, file *os.File) func(*http.Request) error {
return func(r *http.Request) error {
cl, err := putContentLength(path, overwriteField, file)
if err != nil {