diff options
author | Wolfy-J <[email protected]> | 2018-09-29 23:25:04 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-09-29 23:25:04 +0300 |
commit | 06936766844c9d0d4f1f9f92efb622ba765c8c64 (patch) | |
tree | 456f679f57be64ee3963e823182f894668f28911 /service/http/uploads.go | |
parent | 1cfb3a4d142db6afec2befe82bdfdf625cc0f2d4 (diff) |
removed empty error check
Diffstat (limited to 'service/http/uploads.go')
-rw-r--r-- | service/http/uploads.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/service/http/uploads.go b/service/http/uploads.go index 9b205f00..7610ab28 100644 --- a/service/http/uploads.go +++ b/service/http/uploads.go @@ -45,7 +45,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() error { +func (u *Uploads) Open() { var wg sync.WaitGroup for _, f := range u.list { wg.Add(1) @@ -56,7 +56,6 @@ func (u *Uploads) Open() error { } wg.Wait() - return nil } // Clear deletes all temporary files. |