diff options
author | Valery Piashchynski <[email protected]> | 2020-11-19 17:28:30 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-11-19 17:28:30 +0300 |
commit | 71c81a91f9f967e41310077bd26b1dedb0b49556 (patch) | |
tree | cce9cb740bae0b9acbfc15d76823174f571a0a6c /plugins/http/uploads.go | |
parent | e9595a5c133ff02b765c0b59913593e7f91bc4e7 (diff) |
huge linters fix update
Diffstat (limited to 'plugins/http/uploads.go')
-rw-r--r-- | plugins/http/uploads.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/http/uploads.go b/plugins/http/uploads.go index c936262a..5fddb75d 100644 --- a/plugins/http/uploads.go +++ b/plugins/http/uploads.go @@ -1,7 +1,6 @@ package http import ( - json "github.com/json-iterator/go" "github.com/spiral/roadrunner/v2/interfaces/log" "io" @@ -42,8 +41,7 @@ type Uploads struct { // MarshalJSON marshal tree tree into JSON. func (u *Uploads) MarshalJSON() ([]byte, error) { - j := json.ConfigCompatibleWithStandardLibrary - return j.Marshal(u.tree) + return json.Marshal(u.tree) } // Open moves all uploaded files to temp directory, return error in case of issue with temp directory. File errors |