debian-forge-composer/cmd/osbuild-worker-executor
Michael Vogt 8ebefbdbc9 main: rework the way the mock logger is passed
Pass the mock logger directly to `run()` instead of mocking
`logrus.New`. Doing the later leads to a data race when multiple
parallel tests modify the (global) `var logrusNew logrus.New`.

Thanks to Tomas Hozza for reporting.
2024-06-06 21:14:31 +02:00
..
build_result.go osbuild-worker-executor: fix lint warnings/errors 2024-06-05 18:26:08 +02:00
config.go c/osbuild-worker-executor: update to match new name 2024-06-05 18:26:08 +02:00
export_test.go main: rework the way the mock logger is passed 2024-06-06 21:14:31 +02:00
handler_build.go osbuild-worker-executor: make test output silent again 2024-06-06 16:16:33 +02:00
handler_build_test.go osbuild-worker-executor: appease errcheck 2024-06-05 18:26:08 +02:00
handler_result.go osbuild-worker-executor: fix lint warnings/errors 2024-06-05 18:26:08 +02:00
handler_result_test.go osbuild-worker-executor: fix lint warnings/errors 2024-06-05 18:26:08 +02:00
handler_root.go cmd/osbuild-worker-executor: import verbatim from mvo5/oaas 2024-06-05 18:26:08 +02:00
handler_root_test.go cmd/osbuild-worker-executor: import verbatim from mvo5/oaas 2024-06-05 18:26:08 +02:00
main.go main: rework the way the mock logger is passed 2024-06-06 21:14:31 +02:00
main_test.go main: rework the way the mock logger is passed 2024-06-06 21:14:31 +02:00
routes.go cmd/osbuild-worker-executor: import verbatim from mvo5/oaas 2024-06-05 18:26:08 +02:00