debian-forge-composer/internal/cloudapi
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
..
v2 cloudapi/v2/compose: don't overwrite customizations struct 2022-02-19 11:13:55 +00:00
server.go api/cloud: drop v1 API 2022-01-04 16:38:50 +01:00