fix(compressor): Now returns correct value

This commit is contained in:
netbenix 2021-11-28 15:16:49 +01:00
parent 8fbc889b2d
commit 3cd355f737

View file

@ -30,7 +30,7 @@ func CreateBakFile(fileName string, folderPath string, destinationPath string, b
SQL.NewLogEntry(SQL.GetSQLInstance(), uuid.New(), SQL.LogInfo, backupName, SQL.SQLStage_Compress, SQL.REMOTE_NONE, "File successfully written.", time.Now()) SQL.NewLogEntry(SQL.GetSQLInstance(), uuid.New(), SQL.LogInfo, backupName, SQL.SQLStage_Compress, SQL.REMOTE_NONE, "File successfully written.", time.Now())
return fileName return pathToFile
} }
func compress(fileToWrite *os.File, folderPath string, backupName string){ func compress(fileToWrite *os.File, folderPath string, backupName string){