mmetc
|
8fecc2c00b
|
enable staticcheck linter; fixes (#1806)
- explicitly ignore returned parameters
- replace Walk with faster WalkDir
- log path error during hub dir sync
- colorize static unit tests
- removed duplicate import in crowdsec/main.go
- typos
- func tests: default datasource in tests/var/log instead of /tmp
- action setup-go v3
|
2022-10-14 16:12:21 +02:00 |
|
mmetc
|
7674f907c4
|
replace log.Fatal with t.Fatal (#1805)
This is required to run deferred teardown functions
|
2022-10-13 10:42:46 +02:00 |
|
mmetc
|
628d7be1d8
|
simplify err.Error() to err when used in printf context (#1603)
|
2022-06-22 15:53:53 +02:00 |
|
mmetc
|
799cc82bb5
|
functional tests, minor refactoring and lint/cleanup (#1570)
* cmd/crowdsec: removed log.Fatal()s, added tests and print error for unrecognized argument
* updated golangci-lint to v1.46
* lint/deadcode: fix existing issues
* tests: cscli config backup/restore
* tests: cscli completion powershell/fish
* err check: pflags MarkHidden()
* empty .dockerignore (and explain the reason)
* tests, errors.Wrap
* test for CS_LAPI_SECRET and minor refactoring
* minor style changes
* log cleanup
|
2022-06-06 15:24:48 +02:00 |
|
Lars Lehtonen
|
7f8faa7565
|
pkg/apiclient: pick up dropped errors (#676)
|
2021-03-17 12:36:47 +01:00 |
|
Thibault "bui" Koechlin
|
71ac0d2fce
|
Apiclient tests (#484)
Co-authored-by: AlteredCoder
Co-authored-by: erenJag
|
2020-11-30 16:15:07 +01:00 |
|