summaryrefslogtreecommitdiff
path: root/watchdog.go
diff options
context:
space:
mode:
Diffstat (limited to 'watchdog.go')
-rw-r--r--watchdog.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/watchdog.go b/watchdog.go
index 949d455..e1648c7 100644
--- a/watchdog.go
+++ b/watchdog.go
@@ -21,7 +21,7 @@ import (
// the delay, then the scan will run right away, but if
// you check the checkbox twice in 5 seconds, it won't
// rerun until the delay again
-func Watchdog() {
+func (r *RepoList) Watchdog() {
var delay int = 99
var i int = delay
MyTicker(1*time.Second, "newScan()", func() {
@@ -41,7 +41,7 @@ func Watchdog() {
return
}
i = 0
- ScanRepositories()
+ r.ScanRepositories()
})
}