fix(main.go): Removed unused print
This commit is contained in:
parent
1efaa70761
commit
fe1b047bce
1 changed files with 0 additions and 2 deletions
2
main.go
2
main.go
|
|
@ -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 {
|
||||||
|
|
|
||||||
Reference in a new issue