summary refs log tree commit diff stats
path: root/pkg
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2020-03-19 14:23:34 +0530
committerAndinus <andinus@nand.sh>2020-03-19 14:23:34 +0530
commit3c7d5a2622e7a0066d7db5b78a57555ffb1ff20a (patch)
tree51e86f68d5a625beda3dbf448a599c7f69ea0e8d /pkg
parent58122b41d2fc536e5f2ad30da70e33e59a18dc90 (diff)
downloadcetus-3c7d5a2622e7a0066d7db5b78a57555ffb1ff20a.tar.gz
Check local cache before downloading background
Diffstat (limited to 'pkg')
-rw-r--r--pkg/background/download.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/background/download.go b/pkg/background/download.go
index fd391a6..78ff135 100644
--- a/pkg/background/download.go
+++ b/pkg/background/download.go
@@ -9,7 +9,7 @@ import (
 
 // Download takes path and url as input and downloads the data to a
 // file, returning an error if there is one
-func Download(file string, url string) (err error) {
+func Download(file string, url string) error {
 	o, err := os.Create(file)
 	if err != nil {
 		return err