debian-forge-composer/internal/jobqueue
Martin Sehnoutka 8e77e03284 distro: make it impossible to initialize registry with nil values
The current `NewRegistry` implementation allows for nil values in the
map, but this leads to subtle bugs when using the registry. This patch
enforces non-nil values by introducing additional checks before we
insert the value into the map.

The change unfortunately breaks a lot of tests and therefore it is
necessary to create additional mock: distro.

The new mock is used instead of the previous "real" implementation,
which used to contain nil values.
2020-02-19 23:37:45 +01:00
..
api.go api/jobqueue: add route to upload images 2020-02-14 11:53:38 +01:00
api_test.go distro: make it impossible to initialize registry with nil values 2020-02-19 23:37:45 +01:00
job.go jobqueue: remove unused compose import 2020-02-14 15:49:33 +01:00
local_target_uploader.go worker: upload local target image using jobqueue api 2020-02-14 11:53:38 +01:00