diff options
| author | Jeff Carr <[email protected]> | 2024-02-20 14:45:09 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-20 14:45:09 -0600 |
| commit | f3a30ed95bdc02a0152759cc65692c998122af2a (patch) | |
| tree | d09af7ddbdc24b36b8396ef30bb6517c80542176 /scan.go | |
| parent | 24b13e7ea4d9a0aef6cc4f98cce8c7339b5c5e98 (diff) | |
add scan duration label
Diffstat (limited to 'scan.go')
| -rw-r--r-- | scan.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -42,6 +42,7 @@ func (r *RepoList) ScanRepositories() (int, string) { tmp := strconv.Itoa(shown) + " repos shown" log.Info("Setting shownCount to", tmp) me.shownCount.SetText(tmp) + me.duration.SetText(s) log.Info("Scanned", i, "repositories. todo: count/show changes in", s) return i, s @@ -54,7 +55,7 @@ func (r *Repo) NewScan() bool { } // run the repostatus update - r.Status.UpdateNew() + r.Status.Update() // print out whatever changes have happened if c, ok := r.Status.Changed(); ok { |
