Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
worker: ensure that the reported result is always non-nil
When osbuild crashes (e.g. when cp fails because of the machine running out of disk space), it doesn't produce a machine-readable result. Due to our suboptimal handling of the result struct (this is my fault), this can lead to result == nil. However, composer expects that result != nil in all cases because it uses the Success flag to assess the compose state. If result == nil, it just crashes terribly.
- Loading branch information