Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(compose):
.build
Quadlet file error reporting
If there was an error converting the `build` section of a Compose service it would not be reported to the user. The rest of the service would fail to convert to a `.container` Quadlet file as the `image` would not be set (it's set after the `build` section is successfully converted). The user would receive a "`image` or `build` is required" error as the service error would be reported first. Changed `podlet::cli::compose::services_try_into_quadlet_files()` so that if an error occurs when converting the `build` section, it is reported to the user without attempting to convert the rest of the service. Fixes: #126 Signed-off-by: Paul Nettleton <[email protected]>
- Loading branch information