Commit 174d6927 authored by Sandeep S. Shewalkar's avatar Sandeep S. Shewalkar
Browse files

download Helper

Const declared
parent 6a7759b2
Branches
2 merge requests!31Download helper retry sss,!30Download Helper modifications
Showing with 1 addition and 1 deletion
......@@ -66,7 +66,7 @@ func DownloadFile(sourcePath, destinationPath, jwtToken string, retryCnt int) (b
logginghelper.LogError("Download failed: ", err)
RestoreBackup(destinationPath)
}
if fileInfo.Size() < 37 {
if fileInfo.Size() < FILE_SIZE {
hash, err := securityhelper.GetHashChecksumOfFile(destinationPath)
if err != nil {
logginghelper.LogError("Download failed: ", err)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment