summaryrefslogtreecommitdiff
path: root/plugins/http/request.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/http/request.go')
-rw-r--r--plugins/http/request.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/http/request.go b/plugins/http/request.go
index 8da5440f..b3123eb2 100644
--- a/plugins/http/request.go
+++ b/plugins/http/request.go
@@ -9,9 +9,7 @@ import (
"strings"
json "github.com/json-iterator/go"
- "github.com/sirupsen/logrus"
- "github.com/spiral/roadrunner"
- "github.com/spiral/roadrunner/service/http/attributes"
+ "github.com/spiral/roadrunner/v2/interfaces/log"
)
const (
@@ -114,7 +112,7 @@ func NewRequest(r *http.Request, cfg *UploadsConfig) (req *Request, err error) {
}
// Open moves all uploaded files to temporary directory so it can be given to php later.
-func (r *Request) Open(log *logrus.Logger) {
+func (r *Request) Open(log log.Logger) {
if r.Uploads == nil {
return
}