notify when community-blocklist starts pull (#1845)

* minor change to notify blocklist pull update, will make eventual troubleshooting easier
This commit is contained in:
Thibault "bui" Koechlin 2022-11-08 10:44:25 +01:00 committed by GitHub
parent 3b4da7e637
commit 523343b174
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -431,6 +431,8 @@ func (a *apic) PullTop() error {
return nil
}
log.Infof("Starting community-blocklist update")
data, _, err := a.apiClient.Decisions.GetStream(context.Background(), apiclient.DecisionsStreamOpts{Startup: a.startup})
if err != nil {
return errors.Wrap(err, "get stream")