From 10cc1f957b3144a7f46f244a99feec97b1d43536 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Fri, 28 Feb 2020 16:17:23 -0700 Subject: [PATCH] remove pukie logs --- main.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/main.go b/main.go index b95ba2b..074c1d5 100644 --- a/main.go +++ b/main.go @@ -160,16 +160,13 @@ func main() { fmt.Println(err) } l := got.Length - fmt.Printf("Found %d errata, I know about: %d\n", l, errataCount) if l > errataCount { - log.Println("Found new errata") alertRooms, _ := store.Get("errata_rooms") c := 0 for _, errata := range got.List { if c+1 > errataCount { log.Printf("%03d: %s - %s\n", errata.ID, errata.Type, errata.Desc) for _, room := range strings.Split(alertRooms, ",") { - log.Printf("sending errata %03d alert to '%s'\n", errata.ID, room) cli.SendNotice(room, PrintErrata(&errata)) } } @@ -177,7 +174,6 @@ func main() { } errataCount = l } - fmt.Printf("Setting errata_count to %d\n", l) store.Set("errata_count", strconv.Itoa(l)) time.Sleep(2 * time.Hour) }