[PATCH] non-fatal error if some datasource can't be run (i.e. journalctl but systemd...
authormmetc <92726601+mmetc@users.noreply.github.com>
Tue, 27 Jun 2023 08:46:25 +0000 (10:46 +0200)
committerCyril Brulebois <cyril@debamax.com>
Fri, 14 Jul 2023 18:54:27 +0000 (19:54 +0100)
commitf60cf9c93a53139e8ae1199a167a5bf0d969804f
tree26e16d29467196d745f8fd1ca1b3be34e81cf563
parent41177b6f21101990c8f23ef78485579751dc61ac
[PATCH] non-fatal error if some datasource can't be run (i.e. journalctl but systemd is missing) (#2310)

This on the other hand, gives a new fatal error when there are no valid datasources.
In the previous version, crowdsec kept running with just a warning if no
acquisition yaml or dir were specified.

Gbp-Pq: Name 0018-non-fatal-errors-for-invalid-datasources.patch
cmd/crowdsec/crowdsec.go
cmd/crowdsec/main.go
pkg/acquisition/acquisition.go
pkg/acquisition/acquisition_test.go
tests/bats/01_crowdsec.bats
tests/bin/assert-crowdsec-not-running