Skip to content

Commit 61b90e2

Browse files
committed
fix lint
1 parent 6875165 commit 61b90e2

File tree

1 file changed

+1
-1
lines changed
  • instrumentation/github.com/gin-gonic/gin/otelgin

1 file changed

+1
-1
lines changed

instrumentation/github.com/gin-gonic/gin/otelgin/gintrace.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ func Middleware(service string, opts ...Option) gin.HandlerFunc {
9393
// This means that when we are on returning path from handler middlewares up in chain from this middleware
9494
// can not access these temporary files anymore because we deleted them here.
9595
if c.Request.MultipartForm != nil {
96-
c.Request.MultipartForm.RemoveAll()
96+
_ = c.Request.MultipartForm.RemoveAll()
9797
}
9898
}()
9999

0 commit comments

Comments
 (0)