diff options
author | 2022-09-19 13:59:11 +0200 | |
---|---|---|
committer | 2022-09-19 12:59:11 +0100 | |
commit | de26924a4a47fa6b48971cf51f51a5b732745e59 (patch) | |
tree | ac667f5a5089bbe832bba78fb0cf019075863d4c /internal/storage/storage.go | |
parent | [bugfix] Server and closer bugfixes (#839) (diff) | |
download | gotosocial-de26924a4a47fa6b48971cf51f51a5b732745e59.tar.xz |
don't error out if storage key already exists (#840)
Diffstat (limited to 'internal/storage/storage.go')
-rw-r--r-- | internal/storage/storage.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/storage/storage.go b/internal/storage/storage.go index 7a4ebc6c3..7bd4c18aa 100644 --- a/internal/storage/storage.go +++ b/internal/storage/storage.go @@ -34,6 +34,7 @@ import ( ) var ErrNotSupported = errors.New("driver does not suppport functionality") +var ErrAlreadyExists = errors.New("storage key already exists") // Driver implements the functionality to store and retrieve blobs // (images,video,audio) |