summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/compat/images_save.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/api/handlers/compat/images_save.go')
-rw-r--r--pkg/api/handlers/compat/images_save.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/handlers/compat/images_save.go b/pkg/api/handlers/compat/images_save.go
index b39c719a0..6314756f6 100644
--- a/pkg/api/handlers/compat/images_save.go
+++ b/pkg/api/handlers/compat/images_save.go
@@ -6,7 +6,7 @@ import (
"os"
)
-func SaveFromBody(f *os.File, r *http.Request) error { // nolint
+func SaveFromBody(f *os.File, r *http.Request) error {
if _, err := io.Copy(f, r.Body); err != nil {
return err
}