debian-forge-composer/internal/cloudapi
Achilleas Koutsou 45929efbcf cloudapi: validate Disk customization before returining
After converting a Disk customization from the API type to the Blueprint
equivalent, run the validator and return an error if it fails to
validate.
The schema doesn't catch all invalid cases, such as the mountpoint being
required when the fs_type is not "swap", so calling the validator
ensures that any such cases are caught without needing to duplicate the
checks.
2025-06-16 13:33:20 +02:00
..
v2 cloudapi: validate Disk customization before returining 2025-06-16 13:33:20 +02:00
server.go cloudapi: Pass the RepoRegistry to the cloudapi Server 2024-03-11 03:04:54 -07:00