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/uploads.go | |
parent | 5260639a7e95d4d4a36b46fd4b19f665a0a60ef9 (diff) |
Remove old rr imports
Diffstat (limited to 'plugins/http/uploads.go')
-rw-r--r-- | plugins/http/uploads.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/http/uploads.go b/plugins/http/uploads.go index 39a9eaf2..99427b69 100644 --- a/plugins/http/uploads.go +++ b/plugins/http/uploads.go @@ -2,8 +2,10 @@ package http import ( "fmt" + json "github.com/json-iterator/go" - "github.com/sirupsen/logrus" + "github.com/spiral/roadrunner/v2/interfaces/log" + "io" "io/ioutil" "mime/multipart" @@ -48,7 +50,7 @@ func (u *Uploads) MarshalJSON() ([]byte, error) { // Open moves all uploaded files to temp directory, return error in case of issue with temp directory. File errors // will be handled individually. -func (u *Uploads) Open(log *logrus.Logger) { +func (u *Uploads) Open(log log.Logger) { var wg sync.WaitGroup for _, f := range u.list { wg.Add(1) |