diff options
Diffstat (limited to 'modules/storage/storage.go')
-rw-r--r-- | modules/storage/storage.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/storage/storage.go b/modules/storage/storage.go index 2532ceb35d..f11e1ac743 100644 --- a/modules/storage/storage.go +++ b/modules/storage/storage.go @@ -16,10 +16,8 @@ import ( "code.gitea.io/gitea/modules/setting" ) -var ( - // ErrURLNotSupported represents url is not supported - ErrURLNotSupported = errors.New("url method not supported") -) +// ErrURLNotSupported represents url is not supported +var ErrURLNotSupported = errors.New("url method not supported") // ErrInvalidConfiguration is called when there is invalid configuration for a storage type ErrInvalidConfiguration struct { |