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. |
||
|---|---|---|
| .. | ||
| v2 | ||
| server.go | ||