From 395345a8f63c783eb7867c525386f8797d1eb133 Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Wed, 13 Jun 2018 14:29:24 +0300 Subject: config validation --- service/http/uploads.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'service/http/uploads.go') diff --git a/service/http/uploads.go b/service/http/uploads.go index 4d661682..beb1a946 100644 --- a/service/http/uploads.go +++ b/service/http/uploads.go @@ -136,9 +136,5 @@ func exists(path string) bool { return true } - if os.IsNotExist(err) { - return false - } - return false } -- cgit v1.2.3