summaryrefslogtreecommitdiff
path: root/plugins/http/request.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-11-15 13:41:19 +0300
committerValery Piashchynski <[email protected]>2020-11-15 13:41:19 +0300
commitd890eee1742dc3a0a1c787f7e65d40b1e81a94db (patch)
treeb84dcf3c594d2f80ce6f71fae4300e5bfa63e1a1 /plugins/http/request.go
parent5260639a7e95d4d4a36b46fd4b19f665a0a60ef9 (diff)
Remove old rr imports
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
}