mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 01:56:37 -04:00
Changelog: https://github.com/crowdsecurity/crowdsec/releases/tag/v1.6.5 PR: 284730 MFH: 2025Q1
13 lines
418 B
Go
13 lines
418 B
Go
--- pkg/cwhub/hub.go.orig 2025-02-10 13:37:25 UTC
|
|
+++ pkg/cwhub/hub.go
|
|
@@ -165,7 +165,9 @@ func (h *Hub) Update(ctx context.Context, indexProvide
|
|
}
|
|
|
|
if !downloaded {
|
|
- fmt.Println("Nothing to do, the hub index is up to date.")
|
|
+ // use logger and the message will be silenced in the cron job
|
|
+ // (no mail if nothing happened)
|
|
+ h.logger.Info("Nothing to do, the hub index is up to date.")
|
|
}
|
|
|
|
return nil
|