summaryrefslogtreecommitdiff
path: root/plugins/http/uploads.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/http/uploads.go')
-rw-r--r--plugins/http/uploads.go6
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)