Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
MKCLOS
Core Development Platform
coreospackage
Commits
174d6927
Commit
174d6927
authored
7 years ago
by
Sandeep S. Shewalkar
Browse files
Options
Downloads
Patches
Plain Diff
download Helper
Const declared
parent
6a7759b2
Branches
Branches containing commit
2 merge requests
!31
Download helper retry sss
,
!30
Download Helper modifications
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
downloadhelper/downloadHelper.go
+1
-1
downloadhelper/downloadHelper.go
with
1 addition
and
1 deletion
downloadhelper/downloadHelper.go
+
1
−
1
View file @
174d6927
...
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets