fix(main.go): Removed unused print

This commit is contained in:
netbenix 2021-11-28 15:18:12 +01:00
parent 1efaa70761
commit fe1b047bce

View file

@ -1,7 +1,6 @@
package main package main
import ( import (
"fmt"
"github.com/google/uuid" "github.com/google/uuid"
"os" "os"
"scabiosa/Compressor" "scabiosa/Compressor"
@ -22,7 +21,6 @@ func main(){
destPath := checkTmpPath(config, backupItem.CreateLocalBackup) destPath := checkTmpPath(config, backupItem.CreateLocalBackup)
bakFile := Compressor.CreateBakFile(backupItem.BackupName + getTimeSuffix(), backupItem.FolderPath, destPath, backupItem.BackupName) bakFile := Compressor.CreateBakFile(backupItem.BackupName + getTimeSuffix(), backupItem.FolderPath, destPath, backupItem.BackupName)
fmt.Printf(bakFile)
StorageTypes.UploadFile(storage, bakFile, backupItem.BackupName) StorageTypes.UploadFile(storage, bakFile, backupItem.BackupName)
if !backupItem.CreateLocalBackup { if !backupItem.CreateLocalBackup {