Fix typo in apic.go logs (#592)

This commit is contained in:
Shivam Sandbhor 2021-01-31 16:12:17 +05:30 committed by GitHub
parent 862105669f
commit 36844e50b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -260,7 +260,7 @@ func (a *apic) PullTop() error {
alertCreated, err := a.dbClient.Ent.Alert.
Create().
SetScenario(fmt.Sprintf("update : +%d/-%d IPs", len(data.New), len(data.Deleted))).
SetSourceScope("Comunity blocklist").
SetSourceScope("Community blocklist").
Save(a.dbClient.CTX)
if err != nil {
return errors.Wrap(err, "create alert from crowdsec-api")