fix (backend): removed unused import in storage module

This commit is contained in:
Alexander Zavorotynskiy 2022-05-05 12:04:23 +02:00
parent 6314fcbbef
commit 88306e1a6a

View file

@ -7,7 +7,6 @@ import (
"time"
"bytes"
"io"
"os/signal"
"syscall"
@ -57,7 +56,7 @@ func main() {
log.Fatalf("Storage: start upload failed. %v\n", err)
}
if nRead == SESSION_FILE_SPLIT_SIZE {
if err := storage.Upload(gzipFile(file), key + "e", "application/octet-stream", true); err != nil {
if err := storage.Upload(gzipFile(file), key+"e", "application/octet-stream", true); err != nil {
log.Fatalf("Storage: end upload failed. %v\n", err)
}
}