From 583637aed6f82d9aaa50bc184e7cfe6a78c24bc1 Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Thu, 2 Jan 2025 18:08:14 +0530 Subject: [PATCH] lint --- libs/filer/dbfs_client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/filer/dbfs_client.go b/libs/filer/dbfs_client.go index 2869c6f0a..88e17b8ae 100644 --- a/libs/filer/dbfs_client.go +++ b/libs/filer/dbfs_client.go @@ -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 {