fix(compressor): Now returns correct value
This commit is contained in:
parent
8fbc889b2d
commit
3cd355f737
1 changed files with 1 additions and 1 deletions
|
|
@ -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())
|
||||
|
||||
|
||||
return fileName
|
||||
return pathToFile
|
||||
}
|
||||
|
||||
func compress(fileToWrite *os.File, folderPath string, backupName string){
|
||||
|
|
|
|||
Reference in a new issue