spawn every second

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-02-09 05:24:24 -06:00
parent cec7bb8b07
commit d590533ad5
1 changed files with 3 additions and 5 deletions

View File

@ -65,7 +65,7 @@ func makeTagWindow() *tagWindow {
me.autotypistWindow.Disable() me.autotypistWindow.Disable()
defer me.autotypistWindow.Enable() defer me.autotypistWindow.Enable()
for _, repo := range me.allrepos { for _, repo := range me.allrepos {
if repo.String() == "go.wit.com/log" { if repo.String() == "go.wit.com/lib/gadgets" {
// only do log for now // only do log for now
} else { } else {
// continue // continue
@ -89,12 +89,10 @@ func makeTagWindow() *tagWindow {
log.Info("delete tag --dry-run:", t.TagString(), "from", repo.status.String()) log.Info("delete tag --dry-run:", t.TagString(), "from", repo.status.String())
} else { } else {
log.Info("Deleting tag:", t.TagString(), "from", repo.status.String()) log.Info("Deleting tag:", t.TagString(), "from", repo.status.String())
tagsW.Delete(t) go tagsW.Delete(t)
log.Sleep(1)
} }
} }
if ! me.autoDryRun.Checked() {
return
}
} }
}) })