diff options
author | Valery Piashchynski <[email protected]> | 2020-11-15 13:41:19 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-11-15 13:41:19 +0300 |
commit | d890eee1742dc3a0a1c787f7e65d40b1e81a94db (patch) | |
tree | b84dcf3c594d2f80ce6f71fae4300e5bfa63e1a1 /plugins/http/request.go | |
parent | 5260639a7e95d4d4a36b46fd4b19f665a0a60ef9 (diff) |
Remove old rr imports
Diffstat (limited to 'plugins/http/request.go')
-rw-r--r-- | plugins/http/request.go | 6 |
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 } |