Skip to content

Commit

Permalink
Update iot_device.go
Browse files Browse the repository at this point in the history
  • Loading branch information
ctlove0523 authored Mar 12, 2021
1 parent 5294830 commit 35ccbed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iot_device.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ ENDFOR:
}

downloadFlag := CreateHttpClient().DownloadFile(filename, device.fileUrls[filename+FileActionDownload])
if downloadFlag {
if !downloadFlag {
glog.Errorf("down load file { %s } failed", filename)
return false
}
Expand Down

0 comments on commit 35ccbed

Please sign in to comment.