debian-forge-composer/internal/cloudapi/v2
Tom Gundersen bb486bcccb cloudapi/v2/compose: don't overwrite customizations struct
The customizations struct contains different kinds of customizations,
such as users and filesystems. If both filesystems and users are
configured, the current code overwrites the user configuration.

Change this by unconditionally allocating the customizations struct
when creating the empty blueprint, and ammending it for each
customization we find.

This means that the customizations will be non-nil, also when it is
empty, which was not the case in the past. This should not change
the behavior of the code.
2022-02-19 11:13:55 +00:00
..
errors.go worker/api: align & improve error handlers 2022-02-02 11:15:20 +01:00
errors_test.go cloudapi/v2: Listen on /api/image-builder-composer/v2 2021-10-11 09:52:21 +02:00
openapi.v2.gen.go cloudapi: expose filesystem customizations 2022-02-19 11:13:55 +00:00
openapi.v2.yml cloudapi: expose filesystem customizations 2022-02-19 11:13:55 +00:00
v2.go cloudapi/v2/compose: don't overwrite customizations struct 2022-02-19 11:13:55 +00:00
v2_internal_test.go cloudapi: test repository config conversion function 2022-02-14 17:38:41 +01:00
v2_koji_test.go cloudapi/v2: add koji-specific tests 2022-02-01 20:28:40 +00:00
v2_test.go cloudapi/v2: introduce compose status 2022-02-01 20:28:40 +00:00