diff options
| author | Jeff Carr <[email protected]> | 2024-02-17 14:22:24 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-17 14:22:24 -0600 |
| commit | b298958bcd460763e44348467c1c5bd4591b11e7 (patch) | |
| tree | 395e4be5e31b3939fc1ca596642be2b0d634db7c /watchdog.go | |
| parent | 1b103f2a1c9beb87e61ebbd04fe7cdbf605988ed (diff) | |
early successes. autotypist works
Diffstat (limited to 'watchdog.go')
| -rw-r--r-- | watchdog.go | 4 |
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() }) } |
