Update iot_device.go
This commit is contained in:
parent
5294830906
commit
35ccbedd66
|
@ -269,7 +269,7 @@ ENDFOR:
|
||||||
}
|
}
|
||||||
|
|
||||||
downloadFlag := CreateHttpClient().DownloadFile(filename, device.fileUrls[filename+FileActionDownload])
|
downloadFlag := CreateHttpClient().DownloadFile(filename, device.fileUrls[filename+FileActionDownload])
|
||||||
if downloadFlag {
|
if !downloadFlag {
|
||||||
glog.Errorf("down load file { %s } failed", filename)
|
glog.Errorf("down load file { %s } failed", filename)
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue